.NET regex inner text between td, span, a tag

Posted by mushtaqck on Stack Overflow See other posts from Stack Overflow or by mushtaqck
Published on 2010-05-20T06:33:09Z Indexed on 2010/05/21 3:10 UTC
Read the original article Hit count: 132

Filed under:
|
<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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about regex