Member since 10/01/2008

Location: Belfast, United Kingdom

2 snippets

806 profile views

5 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

kouphax's Recent 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 391 posted 12 years ago by kouphax
This regular expression matches any trailing whitespace at the end of a line (whitespace and tabs). Replace this with nothing to remove trailing whitespace from files.
1 304 posted 12 years ago by kouphax
« Prev 1 Next »