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