Last updated on May 23rd, 2010 at 10:50 pm
Click to rate this tutorial!
[Total: 3 Average: 2.3]
Hello Guys…Here i am back again with yet another simple tutorial on how to replace non alphanumeric characters using javascript.
[myAds]
<script language="JavaScript"> var temp = new String('This is a te!!!!st st>ring... So??? What...'); document.write(temp + '<br />'); temp = temp.<b style="color:black;background-color:#ffff66">replace</b>(/[^a-zA-Z 0-9 ]+/g,''); document.write(temp + '<br />'); </script>
Just check this out…Its really amazing…Get back to me if any questions? thanks bye 🙂
Click to rate this tutorial!
[Total: 3 Average: 2.3]