qingxia has asked for the wisdom of the Perl Monks concerning the following question:
I am pretty new to perl and please forgive me if asking too obvious question.
The string i would like to parse has following structureand i want to parse N using $line =~ /<td(.*?)>(.*?)<\/td>/ but unusually the string appears as<td some text here> N </td>
the code which i'm using would miss that N. any ways to play around with it? thanks in advance. shawn<td some text here> N </td>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: parsing html
by tobyink (Canon) on Mar 21, 2013 at 21:24 UTC | |
|
Re: parsing html
by kennethk (Abbot) on Mar 21, 2013 at 21:31 UTC | |
by qingxia (Novice) on Mar 21, 2013 at 23:06 UTC | |
by kennethk (Abbot) on Mar 22, 2013 at 14:20 UTC | |
|
Re: parsing html
by McA (Priest) on Mar 21, 2013 at 20:15 UTC | |
by qingxia (Novice) on Mar 21, 2013 at 23:03 UTC |