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;
In reply to Re^4: RegEx Question
by ikegami
in thread RegEx Question
by yoda54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |