Re: [PHP] ereg match problem

2001-02-20 Thread ..s.c.o.t.t.. [gts]
g|tv)/", $email); - Original Message - From: "richard merit" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 20, 2001 3:06 PM Subject: Re: [PHP] ereg match problem > There's a code section at zend.com. I noticed someone > wrote an email check r

Re: [PHP] ereg match problem

2001-02-20 Thread richard merit
There's a code section at zend.com. I noticed someone wrote an email check routine that checks for all domains and the correct format. You might try there. rm --- "W.D." <[EMAIL PROTECTED]> wrote: > I'm testing email address, but want to test not only > characters but the @ > sign and for .co

[PHP] ereg match problem

2001-02-20 Thread W.D.
I'm testing email address, but want to test not only characters but the @ sign and for .com, .net, .org, or .tv. How would I include all of these? $test = $email if( ereg("[a-zA-Z0-9]+)\@([a-zA-Z0-9]+)\.comhow would I include the rest? _