get # from string and remove python code example Example: remove from string python "Str*ing With Chars I! don't want".replace('!','').replace('*','')