How to use a variable in XML Metadata

studio

#1

Hi Folks,

I am in mid of a Web Automation where I need to extract some table data from the web page. I have used Extract Structured data for getting table and couple of co-relation. When I run it for the second time I can see significant changes in one of the XML node. Can anyone of you please help me use a regular expression to deal with the metadata XML. Below are the screenshots of the XML nodes and highlighted text values are dynamic and are changing.

<extract>
<row exact='1'>
	<webctrl tag='table' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='1' class='  x-grid-row' />
</row>
<column exact='1' attr='text' name='Column1'>
	<webctrl tag='table' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='1' class='  x-grid-row' />
	<webctrl tag='td' idx='1' class='x-grid-cell x-grid-td x-grid-cell-gridcolumn-2257 x-grid-cell-first' />
	<webctrl tag='div' idx='1' class='x-grid-cell-inner ' />
	<webctrl tag='table' idx='1' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='2' />
	<webctrl tag='td' idx='2' />
	<webctrl tag='div' idx='1' class='x-form-item-cell ' />
</column>
<column exact='1' attr='text' name='Column2'>
	<webctrl tag='table' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='1' class='  x-grid-row' />
	<webctrl tag='td' idx='1' class='x-grid-cell x-grid-td x-grid-cell-gridcolumn-2258 x-grid-cell-last' />
	<webctrl tag='div' idx='1' class='x-grid-cell-inner ' />
	<webctrl tag='table' idx='1' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='1' />
	<webctrl tag='td' idx='1' />
	<webctrl tag='label' idx='1' class='x-form-item-label' />
</column>
<column exact='1' attr='text' name='Column3'>
	<webctrl tag='table' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='1' class='  x-grid-row' />
	<webctrl tag='td' idx='1' class='x-grid-cell x-grid-td x-grid-cell-gridcolumn-2258 x-grid-cell-last' />
	<webctrl tag='div' idx='1' class='x-grid-cell-inner ' />
	<webctrl tag='table' idx='1' />
	<webctrl tag='tbody' idx='1' />
	<webctrl tag='tr' idx='2' />
	<webctrl tag='td' idx='1' />
	<webctrl tag='div' idx='1' class='x-form-item-cell ' />
</column>

#2

I even tried giving ‘*’ for skipping those digits in the XML string but no luck.