Community Patterns

Community Library Entry

1

Regular Expression
Created·2020-08-22 12:42
Flavor·PCRE (Legacy)

Description

Example: Find the digit that repeats three times in a row in "451999277". Regex: "(\d)\1\1" (\d) - capture group for the digit and first occurrence \1 - matches one more consecutive occurrence of captured digit

Submitted by anonymous