kouphax


Member since 10/01/2008

Location: Belfast, United Kingdom

1 snippets

2469 profile views

5 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

kouphax's Recent JavaScript SnippetsTagged regex



« 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
« Prev 1 Next »