Ask Ben: Javascript String Replace Method

alert(
	strText.replace( new RegExp( "(t)(h)", "gi" ), GroupReplace )
	)

For Cut-and-Paste