in reply to Regex help
(update: changed ?: to ?=)/^([a-z])(?!.*\1) # letter, never followed by the same letter ([a-z])(?!.*\2) # another ([a-z])(?=(?!\3).(?!\3).\3(?!.*\3)) # letter followed by two othe +rs, then itself and never again ([a-z])(?!.*\4) # another of the first type ([a-z])(?!.*\5) # another \3 # the repeated char ([a-z])(?!\6) # another unique char ([a-z])\z # final char /x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex help
by Anonymous Monk on Jun 23, 2007 at 02:16 UTC |