Remove % and $ From a String using JQuery

[js]
var num=’$100%’;
$(‘div’).text(num.replace(/\,/g, ”).replace(/\$/g, ”).replace(/\%/g, ”));
[/js]
Kindest Regards
Sibeesh Venu

Leave a Reply

Your email address will not be published. Required fields are marked *

Serverless 360