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]
Here I am removing the word Unspecified from my variable oldString.
Please see my other posts related to JQuery here: JQuery Posts
Kindest Regards
Sibeesh Venu