Created
July 13, 2014 18:07
-
-
Save we4tech/4217353ca1d100ebdf8f to your computer and use it in GitHub Desktop.
Replace none alpha numeric unicode 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
text.gsub(/[^[[:alnum:]]]/, ' ').gsub(/\s+/, ' ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment