Matching content between tags in web source

Posted by Semas on Stack Overflow See other posts from Stack Overflow or by Semas
Published on 2010-06-08T11:58:39Z Indexed on 2010/06/08 12:02 UTC
Read the original article Hit count: 218

Filed under:
|
|
|

Hello, I was wondering what could be the fastest and the easiest way to grab text that is between tags in string.
For example i have this string: Lorem ipsum <a>dolor sit amet</a>, <b>consectetur</b> adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
And i need to find text that is between tags <a> </a> and <b> </b>.

Thank you.

© Stack Overflow or respective owner

Related posts about c#

Related posts about regex