Unicode Characters Replace in JQuery- Regular Expression
$(".txtCustomerName").each(function () {
var rgx = /[^\u0000-\u007F]/g;
var temp = $(this).val().replace(rgx, ' ');
$(this).val(temp);
});
No comments:
Post a Comment