Hi,
First question on here so please be nice :)
I know very little about regular expressions but I am using one in a current project which strips special characters from a string. It looks like this...
newWord = newWord.replace(/[^0-9A-Za-z ]/g, "");
It works well, but I need to modify it slightly so that it doesn't remove the £ (GBP) character.
I've tried several things but without learning regexes from the start I'm just guessing and none of it's working.
Can anyone help?