Dilip G Dilip G - 3 months ago 33
Javascript Question

how to remove this symbol ₹ from table

i have this ₹ symbol i want to remove it so that i can export my table with this symbol export is giving error

i'm trying something like this

var table = $('#a').html();

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<div id="a">
<table id="table">

<td>abcd ₹ njdhjdrhjr</td>




You need to remove the unicode character of Indian Rupee sign

str.replace(/[^\x00-\x7F]/g, "");

The above code removes all unicode characters in a string. It should work.

Or to remove only ruppees sign


should work