quote:
Originally posted by NanaFreak
the regex needs to be changed to this:
js code:
/[\"](.+?)[\"]/gi
it was just placing it around the whole message
so the highlighted line would be:
js code:
Message = Message.replace/[\"](.+?)[\"]/gi, "[c=4]\"$1\"[/c]");
well atleast i think it should work... i did it in PHP =p
Just for my benefit now... how do the square brackets help? I thought they were just for character sets