How to escape in regular expression on C characters of square brackets, parentheses []().\?

\ not working

  • ten
    This is due to the fact that the backslash in the C language is the same escape character and when you write "\(" then only the bracket itself remains in the line. The backslash skews must be doubled "\\(" - Mike

0