Give us some code we can run. See I know what I mean. Why don't you?
Update: What do you expect /^[5]+$/ to match? What does each component of the expression do? To save us all a little time these are the interesting components:
In reply to Re: Need a regular expression to check the first digit
by GrandFather
in thread Need a regular expression to check the first digit
by chandantul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |