Last active
May 28, 2019 11:29
-
-
Save kahl-dev/aee0acdce1412d6b2630f8ab21b77a4a to your computer and use it in GitHub Desktop.
Remove all ascii control characters, including CR and LF, from string
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
myString.replace(/[^\x20-\x7E]/gmi, "") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment