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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details 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
Title Test Details Not sort number 5 digits
Expression
^((?!.*(01234|12345|23456|34567|45678|56789))[0-9]{5,10})
Description
In example for some input number in case random digits not sort number 5 number in 5-10 digits in pattern.
Matches
000111222 | 111222333
Non-Matches
0000123400 | 1112345
Author Rating: Not yet rated. Suppakrit Prasopchok
   Displaying page 1 of 1 pages; Items 1 to 2

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