You need to escape it properly. See:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Regex invalid syntax | 6 | 4205 | February 9, 2017 | |
| String ending stops replaceRE from working | 15 | 916 | February 26, 2022 | |
| Invalid syntax with findRE [SOLVED] | 2 | 1181 | April 29, 2017 | |
| replaceRE gives syntax error | 6 | 1515 | January 4, 2020 | |
| Regex function/syntax issues (one more) | 10 | 548 | January 20, 2023 |