Regex for 10 to 15 digits

Matches a number between 10 and 15 digits long.

^\d{10,15}$

Proof it works

4/4 sample tests passed · compiles: true

SampleShould matchResult
3074185296 yes pass
307418529630741 yes pass
307418529 no pass
3074185296307418 no pass

Try your own input

Related patterns