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 1
Title Test Details Non-triplicate character field
Expression
^(?i:([a-z])\1?(?!\1)){2,}$
Description
This was designed to match a single name field which required a minimum length of 2 characters and no triplicate characters.
Matches
John|Bob|Smith|Jones
Non-Matches
aa|aaa|Smiiith
Author Rating: Not yet rated. Jonathan Kight
   Displaying page 1 of 1 pages; Items 1 to 1

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