Find multiple consecutive occurrences of identical digits in a number
Find the digit that repeats three times in a row in "451999277".
(\d) - capture group for the digit and first occurrence
\1 - matches one more consecutive occurrence of captured digit
Submitted by anonymous - 2 years ago