Created
May 25, 2015 22:00
-
-
Save unitycoder/ddb69aa6199691024a2e to your computer and use it in GitHub Desktop.
Regexp replace all non-numeric characters 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
rawLine = Regex.Replace(rawLine, "[^0-9 ]", ""); // remove non-numeric chars, except space |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment