Created
January 3, 2012 01:36
-
-
Save gagarine/1553011 to your computer and use it in GitHub Desktop.
useful regex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some of the regex I think useful... | |
#That will match all blank lines except if the line is the very last line in the file. | |
^\s*[\r\n]+ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment