How can I combine 3 regex patterns into 1 expression - if it is possible?
I want to get the first th tag value the first td tag value and the id from the a tag using a proper regex for this. I've been struggling for an hour to get them all in 1 expression.What would be the solution?
regex for th tag:
th[^>]+l">([^<]+)</th
regex for td tag:
td>([^<]+)</td
regex for a tag:
<a((?!</a).)id="([^"]+)"
I have a list of items like this snippet.
...
<th scope="col">1X2</th>
<th scope="col" class="goR">Odds</th>
</tr></thead>
<tbody>
<tr class="row1">
<td>Fortuna Köln</td>
<td class="prc "><label><a id="MarketGroupListComponent25-selection-38225206.1" />
...