Hi,
If you want to escape all non-word characters, use the \Q and \E string metacharacters or the quotemeta function.
In reply to Re: regex matches with () in strings
by gopalr
in thread regex matches with () in strings
by robinbowes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |