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";
In reply to simple regEx by jithoosin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |