JSFiddle - React, Tailwind, and code Playground by Yuriy Petrichenko August 22, 2018 JavaScript var reg = /(.)*\1/; alert(reg.test(',,'))