Try your code with a, ab, abc and abcd. I think your written specification says that of these, only abcd should be accepted, but your regular expression currently accepts all four.
In reply to Re^2: Regular Expression help
by Corion
in thread SOLVED Regular Expression help
by Slug
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |