Re: regex - validate email chars help

2003-11-13 Thread perl
Thanks for the response. I think I picked up on the backslash \@ would be something that was off. I didn't use the \w in some of those areas because I didn't want the numbers or underscore. Anyway what is soln? -fw > [EMAIL PROTECTED] wrote: >> Can someone help me with validating email chars? >

Re: regex - validate email chars help

2003-11-13 Thread Ramprasad A Padmanabhan
[EMAIL PROTECTED] wrote: Can someone help me with validating email chars? I just need to verify the fron of the @ sign. Will the below ensure something like [EMAIL PROTECTED] $email ~ /^[a-zA-Z][\w\-\.]{3,[EMAIL PROTECTED]/ thanks I think you have the soln already In your script you could do