AdobeStock_455007340

Finding Regular Expression Subexpressions

When working with Regular Expressions you may want to know the exact positions of all matched subexpressions. Both REFind() and REFindNoCase() support an optional fourth attribute – a flag specifying whether or not to return this information. Set this parameter to TRUE to force ColdFusion to return a structure containing a list of positions and lengths (default is FALSE). (Applies to: ColdFusion 3 (or later))

Leave a Reply