Re: validate email chars

2003-11-14 Thread Randal L. Schwartz
> "perl" == perl <[EMAIL PROTECTED]> writes: perl> Can someone help me with validating email address chars? perl> I think I have the back part ok. I just need to verify the front of the @ perl> sign to have atleast 4 chars, start with a-Z allows \w\-\. Thus keeping my legitmate email address

Re: validate email chars

2003-11-13 Thread Tore Aursand
On Wed, 12 Nov 2003 23:05:53 -0800, perl wrote: > Can someone help me with validating email address chars? This is a FAQ: perldoc -q "valid mail" -- Tore Aursand <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: validate email chars

2003-11-13 Thread Wiggins d Anconia
> Can someone help me with validating email address chars? > > I think I have the back part ok. I just need to verify the front of the @ > sign to have atleast 4 chars, start with a-Z allows \w\-\. > > ie: [EMAIL PROTECTED] > > $email ~ /^[a-zA-Z][\w\-\.]{3,[EMAIL PROTECTED]/ > If you know