In this blog, I will learn you how to remove comma from string in jquery. We will talk about remove comma from string in jquery. This article will give you jquery remove comma from string.
Sometimes, we require to remove comma, semicolon, colon etc from string in your jquery code At that time you can simply remove comma using js replace(). Jquery replace() through we can replace comma into empty string that way comma will be remove from jquery string.
Here I will give you full example for how to remove comma from string using jquery. so let's see the bellow example:
<title>Jquery remove comma from string - NiceSnippets.com</title>
var myStr = "Welcome, To NiceSnippets.com";
myStr = myStr.replace(/,/g, "");
It will help you....