I have
var removeNotification = " (F)";
listVariable = listVariable.replace(removeNotification, '');
This works partially, but it only finds the first " (F)" within the string and replaces it to "". There are about many others I need to change as well.
What I need is a way to find ALL matches and replace it.