<!--- Match the entire string from start to end. ---> <cfset strText = strText.ReplaceAll( "(^[\w\W]+$)", "BEGIN::$1::END" ) />