Remove a character from string with regex?

Yes, for something more complex you should use regex.