Title |
Test
Find
Pattern Title
|
Expression |
(.)\1{2,} |
Description |
matches any string with characters repeated more than twice, sometimes used as fake input |
Matches |
aaaeee | ???????? | gooogle |
Non-Matches |
google | booboo |
Author |
Rating:
Not yet rated.
Bernard Martin-Rabaud
|
Source |
|
Your Rating |
|
Title: to Eric Johnson
Name: Alex
Date: 3/31/2010 10:41:57 AM
Comment:
Did you find the solution to your problem?
Title: How can use this to disallow repeats in a string?
Name: Eric Johnson
Date: 9/24/2004 2:01:43 PM
Comment:
This is great, but I'm looking for a way to add an additional condition to one of the password regex's whereby I want to disallow more than 2 consecutive instances of any characters within the string. I'm already requiring several matches (at least one each number,lowercase and uppercase) and one non-match (no spaces allowed) using regexp_id 157.