<!--- Create a ColdFusion string wrapper. ---> <cfset objString = CreateObject( "component", "String" ).Init( "This is wicked sweet!" ) /> <!--- Find the index of the first instance of the given regular expression. ---> #objString.Contains( "\b\w{2}\b" )#