using regular expressions

jmahdi

Solid State Member
Messages
8
hi there

i'm trying to extract certain information from an HTML source, i've used the : WebClient from the .NET library to Screen Scrspe the web page the second part is to use RegEx to EXTRACT usefull information to me from the HTML source available and because i'm not very familiar with regular expressions i need help to do this for example:

<td class="subhead" colspan="2"><font size="-1">I NEED TO EXTRACT THIS</font></td>

and then to place whatever is extracted within XML tag (i.e. converting)

thanks and regards

jay
 
ok guys no wurries i've sorted that one out but mayb e s/one can help me this time?!

i want to strip ceartin information from between tags but they differ in some things:

1:
<b><a.*?>(strip this 1)</a></b>

2:
<b>(strip this 2)</b>

3:

<b><a.*?><b>(strip this 3)</b></a></b>

Using the same regex object(i.e one expression for all 3), it got to be....

please can any one help

[by the way i'm using C#]

regards
jay
 
Back
Top Bottom