posted 13 years ago
HI to all,
I am in need of escaping the regular expression special characters like '/', '.', '*', '+', '?', '|','(', ')', '[', ']', '{', '}', '\\'.
I have try with this by the following javascript but i can not achieve that.
If i go with the line which is commented,
I have the correct output.
But by with the replace method i cannot achieve that?
Please guide me to achieve that.