jithoosin has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
and i want to extract every thing from Otani to </a> excluding </a> with out use of escape character. So i used /Q and /E like this $line =~ m@\Qonmouseout="cs()">(.*)</a>\E@; Then i printed out $1 .But it didnot work. Why doesn't it work ? Is there any other way with out using escape characters?my $line= "onmouseout=\"cs()\">Otani <b>Restaurant</b> & <b>Sushi< +/b> Bar: <b>Columbus</b> <b>Ohio</b> DiningGuide \ <b>Restaurant</b>...</a>csdkjfhasdkjghlkjhdfgkj";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: simple regEx
by marto (Cardinal) on Nov 09, 2005 at 14:27 UTC | |
Re: simple regEx
by Corion (Patriarch) on Nov 09, 2005 at 14:22 UTC | |
Re: simple regEx
by tphyahoo (Vicar) on Nov 09, 2005 at 14:50 UTC | |
Re: simple regEx
by ww (Archbishop) on Nov 09, 2005 at 15:01 UTC |
Back to
Seekers of Perl Wisdom