JSFiddle - React, Tailwind, and code Playground by Hugo Carneiro October 18, 2019 JavaScript var key = 'html'; var split = key.split('.$.'); console.log(split);