gavin mc auley [gma], on Tuesday, May 03, 2005 at 15:03 (+0100) has on
mind:

gma> is [EMAIL PROTECTED], I want to extract hotmail.com. This is

here is 2 ways how to do that:
(my $domain = '[EMAIL PROTECTED]') =~ s/[EMAIL PROTECTED]@//;
or
my $domain = $1 if '[EMAIL PROTECTED]' =~ /@(.*)/;

there should be many of other ways how to achieve this.

gma> Also if you know of any good tutorials on regular expressions
gma> could you let me know.

there are many tutorials, you could buy superb book from o'reilly, but
I think you could learn much from web tutors, just put that in google
and you will find something.


--

How do you protect mail on web? I use http://www.2pu.net

[Brain: The apparatus with which we think that we think.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to