Soldato
- Joined
- 19 Dec 2006
- Posts
- 9,262
- Location
- Saudi Arabia né Donegal
Hi There,
Wondering if someone could point me in the right direction, currently trying to replace certain characters with a null string from a given string using regexp but unfortunately it's also replacing new line characters which I don't want it to do.
Here's the regexp string I'm using:
/[\/\`\\\"\'\;\:\|\=\>\<]/
I'm using javascript to do the replace.
Thanks in advance,
Antar.
Wondering if someone could point me in the right direction, currently trying to replace certain characters with a null string from a given string using regexp but unfortunately it's also replacing new line characters which I don't want it to do.
Here's the regexp string I'm using:
/[\/\`\\\"\'\;\:\|\=\>\<]/
I'm using javascript to do the replace.
Thanks in advance,
Antar.