Escaping Parentheses in Regex

If you want to match one of a set of character, it’s best to use a character class. And within such a class, most escaping rules don’t apply.

So to match a dot, comma, slash or closing parenthesis, you can use

[.,/)]

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)