JSFiddle - React, Tailwind, and code Playground by Uthistran Selvaraj February 04, 2020 JavaScript var value = "$$$$$1.00"; value = value.replace(/$/g, ""); alert(value);