Javascript – remove character from a string

Use regex like this:

This will remove all “a” characters