JSFiddle - React, Tailwind, and code Playground

by Shree Khanal

JavaScript

var str = "Thankssssssssssssss !!!!!!!";
var reg = /(.)\1{4,}/;