Created
November 30, 2018 11:04
-
-
Save akinozgen/44f1c4010cabc2cc47fa8e892148a393 to your computer and use it in GitHub Desktop.
js match special characters regex
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
"string to math;+^'%+c".replace(/[\,\;\"\'\^\~\+\%\&\/\(\)\=\?\_\-\*\¨\!\<\>\|\:]/gm, '') | |
// string to match |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment