AdobeStock_455007340

Multi-Character Regular Expressions

Home » Multi-Character Regular Expressions

When using Regular Expressions to match a block of text containing repeated characters (or sets of characters), remember the following rules: an expression followed by + matches one or more occurrences of that expression, an expression followed by * matches zero or more occurrences of that expression, {n,} matches n or more occurrences (n being the minimum number of matches), and {n,m} matches n to m occurrences (m and n being the range low and high). (Applies to: ColdFusion 3 (or later))

Leave a Reply