<!--- This takes a string replace-with argument. ---> <cfset strText = JREReplace( strText, "([a-z]+)", "--->$1<---", "ALL" ) /> <!--- This takes a function pointer replace-with argument. ---> <cfset strText = JREReplace( strText, "([a-z]+)", fnHelperMethod, "ALL" ) />