I have input text that contains a \' like in this text \"Frank\'s Reel Movie Reviews\"
how do I get rid of the \'
I have tried
.replace (/\\\'/ig
If you just want to have letters and spaces in your result, you could always match any character that isn't one of those, such as...
.replace (/[^a-zA-Z ]+/ig, '');
You could of course also add any other characters you desired to permit to the regex.