Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Regular Expression:
I need a regex to fetch data from an html file
The contents are
<td id="Au"><%=openInvoice[0]%></td> <td id="Kun"><%=openInvoice[1]%></td> <td id="Re"><%=openInvoice[2]%></td> <td id="Rec"><%=openInvoice[3]%></td> <td id="Zah"><%=openInvoice[4]%></td> <td id="Off"><%=openInvoice[5]%></td>
The regex which I have with me is
<td id='Au'>(\D\d*\d)
but this gives data only for one column and if I attach similar sort of regex for another columns none of them work
Please help
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular Expression: I need a regex to fetch data from an html file
by CountZero (Bishop) on Feb 27, 2012 at 09:57 UTC | |
by Anonymous Monk on Feb 27, 2012 at 10:27 UTC | |
by bitingduck (Deacon) on Feb 27, 2012 at 16:26 UTC | |
|
Re: Regular Expression: I need a regex to fetch data from an html file
by Anonymous Monk on Feb 27, 2012 at 09:27 UTC |