html - Regex - match table tag by its ID fragment -
i didn't got wrong. aplication's running .net 3.5. there no parsers working 3.5, swear.
i'm trying fetch table tag, has keyword fragment within id.
i tried using regex
"<table.*ctl01.*>.*</table>"
some listing:
<table class="default_gridclass" cellspacing="0" rules="all" border="1" id="ctl00_contentplaceholder1_customerbylocation_viewpanelstandalone_viewpanel_grid_ctl01">
this table tag located inside 2 parent's table tags.
actually, parent tables contain no "ctl01" fragment in id. but, using regex 3 tables instead of one
Comments
Post a Comment