C# regex innert text between td, span, a tag

Posted by mushtaq on Stack Overflow See other posts from Stack Overflow or by mushtaq
Published on 2010-05-20T06:33:09Z Indexed on 2010/05/20 6:40 UTC
Read the original article Hit count: 282

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.

Thanks everyone.

© Stack Overflow or respective owner

Related posts about c#

Related posts about regex