4chanx offers
/(\d)\1$/
as code to match dubs-or-better
but this matches 10% of all numbers.
What would be the regex to only match when number ends in 3-or-more repeating numbers?
thanks
>>85675
Try
/(\d)(\1)+$/
>>85766
That's still matching dubs also :(
wouldn't /(\d)\1\1$/ work? little clumsy looking but w/e
>>85787
thanks, that works
>>85781
Oh, misread the request
there's
/(\d)(\1){2,}$/
thanks, also works