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?
>>
>> 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 something like this
>
> if( $email=~/^[a-zA-Z][\w\-\.]{3,[EMAIL PROTECTED]/) {
>
> # Valid
>
> } else  {
>
> # invalid
>
> }
>
>
> Bye
> Ram
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-----------------------------------------
eMail solutions by 
http://www.swanmail.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to