| title | ms.custom | ms.date | ms.prod | ms.reviewer | ms.suite | ms.technology | ms.tgt_pltfrm | ms.topic | f1_keywords | dev_langs | ms.assetid | caps.latest.revision | author | ms.author | manager | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Expected ')' in regular expression (JavaScript) | Microsoft Docs |
01/18/2017 |
windows-client-threshold |
|
article |
|
|
2087ba1d-9783-4d40-b609-e8542f579f7f |
7 |
mikejo5000 |
mikejo |
ghogen |
You attempted to create a regular expression capture, assertion, or group, but did not include the closing parenthesis. Parentheses have several purposes in regular expressions. Primarily, they are used to capture sub-expressions, to specify assertions, or to group patterns together so that the items can be treated as a single unit by *, +, ?, and so on.
-
Add the rightmost closing parentheses.
[!NOTE] If you want to match a single parenthesis, escape it with a backslash - \( - so that it is not interpreted as a special character by [!INCLUDEjavascript].
Regular Expression Object
Regular Expression Syntax (JavaScript)