Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^([0-9])\1*$
"

Description

Check all the numbers are same in a string.

Submitted by DJA - 9 years ago