// Replace a value in a text field.
strText.replace(
	new RegExp( "[0-9]", "g" ),
	function( $0 ){
		return( "blam" )
	}
	);