Re: More Email ereg Validation

From: Date: Thu, 05 Apr 2001 16:45:18 +0000
Subject: Re: More Email ereg Validation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47284@lists.php.net to get a copy of this message
On Thu, Apr 05, 2001 at 10:08:13AM -0600, Dan Wilson wrote: > : Here's a quick patch.. =) > : ([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2}[a-z]?) > Does anyone else (a regex guru) have any other suggestions? I'm by no means an reg-exp-expert (hate these things) /[a-z0-9_.-]+@+[a-z0-9._-]+\.[a-z]{2,4}/i should do. -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 |http://www.hazardous.org/ | whois -h whois.ripe.de FKR-RIPE | |all your base are belong to us | shame on me | fkr@IRCnet |

« previous php.general (#47284) next »