RELoop ColdFusion Custom Tag To Iterate Over Regular Expression Patterns

<!---
	Loop over the text using the email address pattern. For
	each iteration, we are gonna use the ReturnGroups boolean
	to get a structure of the captured groups.
--->
<cfmodule
	template="reloop.cfm"
	index="objMatch"
	pattern="#strRegEx#"
	text="#strText#"
	returngroups="true">
 
	<!--- Dump out the match structure. --->
	<cfdump
		var="#objMatch#"
		label="Pattern Match"
		/>
 
</cfmodule>

For Cut-and-Paste