Created
June 13, 2013 16:18
-
-
Save kenny-evitt/5775071 to your computer and use it in GitHub Desktop.
Regular expression (regex) for matching a string that does NOT end with specific text (i.e. ".config" in the code).
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
^(?:.(?!config$))*$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment