Thanks a lot.
As mentioned by you, 'qr' didn't work for me but I was able to get the desired results using 'quotemeta'.
In reply to Re^3: Regex: Searching for a string with special characters
by Anonymous Monk
in thread Regex: Searching for a string with special characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |