[SOLVED] EREGI >> I'm trying to understand this... hel

I’m working with eregi to validate some form fields

I dont understand what this stuff means. “eregi(’^[a-z]{2,30}$’, $name)”

Can someone break this stuff down “^[a-z]{2,30}$” so I can understand it.

I’m lost

Thanks
BRI

CHECK OUT THIS WEB SITE:

http://www.regular-expressions.info/reg … email.html

This is what helped me out :)

just be aware that that regex is not up do date.
our days a domain is able to have special chars like umlaute (?¤?¶??) acsents.

e.g. info@enzkl?¶sterle.de is a valid email.

Sponsor our Newsletter | Privacy Policy | Terms of Service