Hi,
'regex' => '/^[0-9]+$/',
here i undersnad it will allow 0-9 , but then what does + and $ mean?
what this regex tells
Moderator: General Moderators
^ start of subject/line
[0-9] any digit 0-9
+ 1 or omore ccurrences
$ end of subject/line
see also: http://de2.php.net/manual/en/reference. ... syntax.php
[0-9] any digit 0-9
+ 1 or omore ccurrences
$ end of subject/line
see also: http://de2.php.net/manual/en/reference. ... syntax.php