Profile
Achievement
kouphax's Recent JavaScript SnippetsTagged regex
- All /
« Prev 1 Next »
Escape all special regex characters (.*+?|()[]{}\) from a string. Useful when dynamically building a Regular Expression object based on input text that could hold regex characters.
2
1002
posted 15 years ago by kouphax