Share via


Syntax error in regular expression (JavaScript)

The structure of your search string violates one or more of the grammatical rules of a JavaScript regular expression.

To correct this error

  • Ensure the structure of your regular expression search string adheres to the JavaScript regular expression syntax.

See also

Regular Expression Object
Regular Expression Syntax (JavaScript)
compile Method (Regular Expression)