JSFiddle - React, Tailwind, and code Playground

by Uthistran Selvaraj

JavaScript

var value = "$$$$$1.00";


value = value.replace(/$/g, ""); 

alert(value);