Member since 10/01/2008

Location: Belfast, United Kingdom

2 snippets

1662 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 794 posted 14 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 618 posted 14 years ago by kouphax
« Prev 1 Next »