RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Not repeat number 5 digits
Expression
^((?!.*(00000|11111|22222|33333|44444|55555|66666|77777|88888|99999))[0-9]{5,10})
Description
In example for some input number in case random digits not repeat number 5 number in 5-10 digits in pattern.
Matches
0000110000 | 000010010
Non-Matches
00000 | 1122000009
Author Rating: Not yet rated. Suppakrit Prasopchok
Source
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials