in reply to Re^3: RegEx Question
in thread RegEx Question
Actually, I am not sure that you can do this in one regex.
Assuming he meant all 9 digits,
/ ^ (?=[0-8]{9}\z) (?=.*0) (?=.*1) (?=.*2) (?=.*3) (?=.*4) (?=.*5) (?=.*6) (?=.*7) (?=.*8) /sx;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: RegEx Question
by CountZero (Bishop) on Sep 10, 2009 at 06:03 UTC | |
by ikegami (Patriarch) on Sep 10, 2009 at 06:32 UTC |