Posted by Stefan Rybacki on 12/20/05 22:59
Ashok wrote:
> I want to check for regular expression a text description field, say 250
> caracters max..
> The field can contain only letters, numbers, comma and dot.
> What will be the correct ereg php reg expression for this?
> Can't figure out the proper expression.
>
something like this:
preg_match("/^[A-z0-9,.]*$/",$description);
Regards
Stefan
> Thanks.
> Ashok
>
>
[Back to original message]
|