Created
August 23, 2013 19:01
-
-
Save eliperelman/6322823 to your computer and use it in GitHub Desktop.
JavaScript Regex replace all lines that don't contain string
This file contains 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
/^(?:(?!TOKEN).)*$[\r\n]/igm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment