Hi, I’m using javascript in asp insted of using vbscript… bicouse I like more and is like actionscript, etc. My problem is:
in PHP i can use regular expression like: /(\W)/ to replace all the nonCharacters in a string… but in Javascript, when I do the same thing… jscript only replace the first nonCharacter and the rest is not concider… for example, when I put in bold “asdas %dfsdf%sffsd&”.replace(/(\W)/, “<b>$1</b>”) only the first % is in bold… with php, all the character are put in bold… Whats the problem? if is a problem…