Jquery Removing currency symbols from a string
- By Preneesh AV --
- 03-Sep-2019 --
- 182 Comments
Jquery Removing currency symbols from a string
Below script removes everything that is not a digit from the value stored in the script.
amount.replace(/[^\d\.]/g, '');