Remove % and $ From a String using JQuery

HTML

To Remove the % and $ from a string <br/>
given number = 100% <br/>
After : <div></div>
 
JQUERY
  1. var num='$100%';    
  2. $('div').text(num.replace(/\,/g, '').replace(/\$/g, '').replace(/\%/g, ''));   
OUTPUT
 
To Remove the % from a string
given number = 100%
After :
100
 
Kindest Regards
Sibeesh
www.sibeeshpassion.com