Simple Regex problem
How you will convert
$email = "[EMAIL PROTECTED]";
TO
$email = "[EMAIL PROTECTED]";
using Regex.
Thanks,
Sara.
- Original Message -
From: gregg
To: Sara
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 6:59 AM
Su
Sara wrote:
Simple Regex problem
How you will convert
$email = "[EMAIL PROTECTED]";
TO
$email = "[EMAIL PROTECTED]";
using Regex.
Well this isn't necessarily a regex issue, TMTOWTDI,
my $email = '[EMAIL PROTECTED]';
$email = substr($email, 0, (index($email,'@')+2));
print "Email: $email
ust 05, 2003 10:36 PM
To: Sara
Cc: [EMAIL PROTECTED]
Subject: Re: Regex and Email address.
Sara wrote:
> Simple Regex problem
>
> How you will convert
>
> $email = "[EMAIL PROTECTED]";
>
> TO
>
> $email = "[EMAIL PROTECTED]";
>
> us
ginal Message-
> From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 05, 2003 10:36 PM
> To: Sara
> Cc: [EMAIL PROTECTED]
> Subject: Re: Regex and Email address.
>
>
> Sara wrote:
>
>>Simple Regex problem
>>
>&
ugust 05, 2003 10:36 PM
To: Sara
Cc: [EMAIL PROTECTED]
Subject: Re: Regex and Email address.
Sara wrote:
Simple Regex problem
How you will convert
$email = "[EMAIL PROTECTED]";
TO
$email = "[EMAIL PROTECTED]";
using Regex.
Well this isn't necessarily a regex
I'm not clear on what you're trying to do. I recommend reading
"Mastering Regular Expressions" by O'Reilly press.
http://www.oreilly.com/catalog/regex/
I am currently reading it. I am not associated with O'Reilly press, I
assure you. ;-)
Gregg Allen
Blessed are they who expect nothing,
for t