Re: Regular expressin

2008-06-25 Thread Jeff Peng
the simplest way, try: my ($result) = $str =~ /\>(.+)\ wrote: > I need -Athletic Coaching Education (ACE ) > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Regular expressin

2008-06-25 Thread Jenda Krynicky
From: "Manasi Bopardikar" <[EMAIL PROTECTED]> > Anyone knows regex for---Athletic Coaching Education > (ACE ) If it's HTML use HTML::Parser or some other HTML parsing module, if it's XML use XML::Rules, XML::Twig, XML::LibXML or some other of the tens of XML parsing modules. But do NOT attempt t

Re: Regular expressin

2008-06-25 Thread Jeff Peng
On Wed, Jun 25, 2008 at 7:50 PM, Manasi Bopardikar <[EMAIL PROTECTED]> wrote: > Anyone knows regex for---Athletic Coaching Education > (ACE ) > what do you want to capture? if you're asking for the full string, then don't need a regex. if ($string eq "your that string") { # do sth. } -- To

Re: Regular expressin

2008-06-25 Thread Rob Dixon
Manasi Bopardikar wrote: > > Anyone knows regex for---Athletic Coaching Education > (ACE ) What would you like to do with that string? If you simply want to match the entire string literally then simply put \Q immediately before it to escape the special characters. HTH, Rob -- To unsubscribe,