JSFiddle - React, Tailwind, and code Playground by loktar August 11, 2011 JavaScript var strValue = "abcdefg"; strValue = strValue.replace('c',''); alert(strValue);