Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
boxi0159yThe simple way:
> /(.)\1{2}/i.test("foo")
false
> /(.)\1{2}/i.test("fooo")
true
> /(.)\1{2}/i.test("foOo")
true
Related Rants

And the most useless function of the year award goes to...
Query for the clients and some people
The website of Alphabet(parent company of Google) - https://abc.xyz, has hidden link to Hooli, the tech compan...
Well that's... an interesting way to check for three characters repeated in a row...
undefined
query
awful
alphabet