tags:

views:

35

answers:

0

Hello Everyone,

I am trying to extract the contents of the table using Regex.

I have removed most of the tags from the table, i am stuck with <br> , <a href >, <img > & <b> How to remove them ??

for <b> tag i tried this Regex

 \s*<b[^>]*>\s* 
(?<value>.*?)
 \s* </b>\s*

it worked for some lines and some its giving the out put as

<b class="saadirheader">Email:</b>

Can anyone help me removing these tags

<br> , <a href >, <img > and  <b>

Full Tags :-

<img src="Newrecord_files/spacer.gif" alt="" border="0" height="1" width="5">

<a href="mailto:[email protected]">

Thanking you,

Naveen HS