<!--- Save some text that we want to explore using regular expressions. ---> <cfsavecontent variable="strText"> Hey campers, Mistress Kim here. I'll be out of town for a few days at my annual hedonist retreat. Email my friends sandi@mistress-kims.com or michelle@mistress-kims.com if you really need to reach out and touch someone and you simply can't wait for me to come back... </cfsavecontent> <!--- Set up the Java regular expression for matching email addresses. We are going to capture each part of the email in a different group. ---> <cfset strRegEx = ( "(?i)" & "([\w\.\-_+]+)" & "@" & "([\w\.\-_]+)" & "\." & "(\w{2,9})" )/>