Bombdrop
May 5th, 2004, 04:36 AM
Hi i wish to do a replace in javascript
strTest=strTest.replace(/(Ascending)/g,"Asc,")
this will replace all instances of Ascending in the string and replace them with Asc, but it keeps the '()' I do not wish this any help guys
:wave: :thumb: :wave:
strTest=strTest.replace(/(Ascending)/g,"Asc,")
this will replace all instances of Ascending in the string and replace them with Asc, but it keeps the '()' I do not wish this any help guys
:wave: :thumb: :wave: