Created
November 27, 2011 19:19
-
-
Save 0xGGGGG/1398013 to your computer and use it in GitHub Desktop.
turkish visible character set
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
# if any encoding stuff doesnt save your ass, and you have to figure out | |
# you can regexp it out! | |
# TODO: will be improved | |
"any bad ass text".gsub(/[^A-Za-z 0-9 üÜıİöÖşŞğĞçÇ\.,\?'""!@#\$%\^&\*\(\)-_=\+;:<>\/\\\|\}\{\[\]`~]*/i, '') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment