Regular Expression Backreferences

CFML supports the use of backreferences in Regular Expression operations. Using backreferences it is possible to refer to matched expressions in both search and replace operations. When using backreferences you must enclose the string in parentheses (within regular double quotes) or ColdFusion will throw an error. (Applies to: ColdFusion 3 (or later))

Leave a Reply