Regex for at least 8 digits

Matches a number with 8 or more digits.

^\d{8,}$

Proof it works

4/4 sample tests passed · compiles: true

SampleShould matchResult
30741852 yes pass
3074185296 yes pass
3074185 no pass
abc no pass

Try your own input

Related patterns