Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi ,
I am new to perl and have to write some code for Monday deadline. Could you please help with how to match pattern which looks like this
<Row AutoFitHeight="0"> <Cell><Data ss:Type="String">DATA1</Data></Cell> <Cell><Data s:Type="String">DATA2</Data></Cell> <Cell><Data ss:Type="String">DATA3</Data></Cell> <Cell><Data ss:Type="String">DATA4</Data></Cell> <Cell><Data ss:Type="String">DATA5</Data></Cell> <Cell><Data ss:Type="String">DATA6</Data></Cell> <Cell><Data ss:Type="String">DATA6</Data></Cell> <Cell><Data ss:Type="String">DATA7</Data></Cell> </Row>
Now the columns of DATA values keep changing. So thats the reason I am having a hard time to come up with a pattern that matches the above. But the only thing thats common is the begining of the syntac ie <Row AutoFitHeight and the ending of the syntax ie
</Row>
Code tags added by GrandFather
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: pattern match
by GrandFather (Saint) on Jan 30, 2006 at 02:34 UTC | |
|
Re: pattern match
by McDarren (Abbot) on Jan 30, 2006 at 02:31 UTC |