Created
September 12, 2013 16:17
-
-
Save thebuilder/6540187 to your computer and use it in GitHub Desktop.
Checks a string for illegal filename characters.
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
RegExp: /[^-\w \.]/i | |
pattern: [^-\w \.] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment