JSFiddle - React, Tailwind, and code Playground

by Yuriy Petrichenko

JavaScript

var reg = /(.)*\1/;
alert(reg.test(',,'))