Options
Examples
When it fails
If the pattern or the flags are not valid, the field is cleared and the formatter reportsRegEx Formatter: Invalid pattern or flags specified, which sends the document to human review. A pattern that simply does not match anything is not an error — the value is passed through unchanged. An empty value is left empty.
This is the formatter, which rewrites values. To check a value against a pattern without changing it, use the RegExp validator instead.