phpbar.de logo

Mailinglisten-Archive

[php] Re: [php] =?iso-8859-1?Q?Email-Adresse_mit_Regul=E4rem_Ausdruck_pr=FCfen? =

[php] Re: [php] =?iso-8859-1?Q?Email-Adresse_mit_Regul=E4rem_Ausdruck_pr=FCfen? =

Daniel Lorch php_(at)_phpcenter.de
Tue, 4 Jun 2002 12:52:05 +0200


Hi,

> !eregi("^[A-Za-z0-9\_-]+_(at)_[A-Za-z0-9\_-]+.[A-Za-z0-9\_-]+.*", $email)

Du musst den "-" escapen, also \- schreiben. Dito gilt für ".".

-daniel


php::bar PHP Wiki   -   Listenarchive