remove commas and dollar sign from string js

JavaScript
parseFloat('$148,326.00'.replace(/\$|,/g, ''))
Source

Also in JavaScript: