in reply to Regex probleme, how memorize (match)? with question mark ?
This should match anything after mailto: that isn't a " and
ends with "> and put it in $1.
if (/href="mailto:([^"]*)">/) { print "MATCH - ($1)" } else { print "DONT MATCH" }
--
Check out my Perlmonks Related Scripts like framechat,
reputer, and xNN.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Regex probleme, how memorize (match)? with question mark ?
by tachyon (Chancellor) on Jul 07, 2001 at 00:07 UTC | |
by epoptai (Curate) on Jul 07, 2001 at 00:21 UTC | |
by tachyon (Chancellor) on Jul 07, 2001 at 00:49 UTC | |
by epoptai (Curate) on Jul 07, 2001 at 02:27 UTC | |
by tachyon (Chancellor) on Jul 07, 2001 at 04:21 UTC | |
by bobione (Pilgrim) on Jul 07, 2001 at 05:33 UTC | |
by bobione (Pilgrim) on Jul 07, 2001 at 02:07 UTC |
In Section
Seekers of Perl Wisdom