You are here:
Using Special Characters in Java Regular Expressions
In Marketing Cloud Intelligence, you can use the Java Regular Expression (RegEx) API to search for and modify text strings, for example, in a mapping formula or a calculated dimension. RegEx API uses special characters called metacharacters. A metacharacter is a character that has a special meaning during pattern processing. You can use a metacharacter as a regular character by escaping.
- Escape a Metacharacter
To use the literal meaning of a Java RegEx metacharacter in a regular expression, you must cancel the metacharacter, which is called escaping. You can escape a metacharacter in two ways.
