Created
November 8, 2019 22:31
-
-
Save thesmart/e9932f8a1dd16b9e202d989c503e369f to your computer and use it in GitHub Desktop.
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!('`', '') | |
# these are unicode equivalents | |
text.gsub!('*', '﹡') | |
text.gsub!('_', '_') | |
text.gsub!('-', '‒') | |
text.gsub!('~', '~') | |
text.gsub!('%', '%') | |
text.gsub!('^', '^') | |
text.gsub!('|', '|') | |
text.gsub!(':', '꞉') | |
puts text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment