JSFiddle - React, Tailwind, and code Playground by tjerabek November 07, 2012 JavaScript var item = "." alert("te.s.t".split(item).join(' '))