Created
March 10, 2016 12:25
-
-
Save kirankumaramruthaluri/cb259c599f53f59b88f5 to your computer and use it in GitHub Desktop.
Regular Expression used for finding / replacing special characters for the input
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
// Regular Expression of Special Characters | |
isSpecialCharRegex = /[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment