.NET regex inner text between td, span, a tag
- by mushtaqck
<table >
<tr>
<td colspan="2" style="height: 14px">
tdtext1
<a>hyperlinktext1<a/>
</td>
</tr>
<tr>
<td>
tdtext2
</td>
<td>
<span>spantext1</span>
</td>
</tr>
</table>
This is my sample text how to write a regular expression in C# to get the matches for the innertext for td, span, hyperlinks.