I have a string h2#test- ruby is so awesome, blah, blah, blah. I want to have #test to be the only characters left. is there a way in ruby to run a Regular Expression that removes all other characters?
I have a string h2#test- ruby is so awesome, blah, blah, blah . I
Share
1 Answer