Regex to remove a word from a string
In this post we will see how we can remove a particular word from a string entirely in jQuery. [js] var newString= oldString.replace(/Unspecified/g, ”); [/js]… Read More »Regex to remove a word from a string
In this post we will see how we can remove a particular word from a string entirely in jQuery. [js] var newString= oldString.replace(/Unspecified/g, ”); [/js]… Read More »Regex to remove a word from a string
[js] var num=’$100%’; $(‘div’).text(num.replace(/\,/g, ”).replace(/\$/g, ”).replace(/\%/g, ”)); [/js] Kindest Regards Sibeesh Venu
How to remove the spaces between the string in JQuery. [js] var str="Sibeesh Passion" var strAfter=str.replace(/\s/g, ”); [/js]