AdobeStock_455007340

Using Special Characters in Regular Expressions

Home » Using Special Characters in Regular Expressions

When using Regular Expressions characters match themselves unless they are special characters (ones that have special meanings within the expression). In CFML Regular Expressions these are + * ? . [ ^ $ ( ) { | and . To refer to any of these characters as themselves you must escape them by preceding them with a backslash (the character). (Applies to: ColdFusion 3 (or later))

Leave a Reply