?
=?ISO-8859-15?Q?Movie_Maniac=AE?=
Hi
I'm writing a little app and I need some html parsing through regular
expressions.
I wrote this piexe of code
Private Function findImgTags(ByVal strHTML As String) As Object
dim MatchObj As Match = Regex.Match(strHTML, "<img[^>]*>",
RegexOptions.IgnoreCase)
return MatchObj
End Function
This should return an object containing all the img tags, unfortunately
returns only the first img
Plus, I need to parse the whole html and find retain only thos img that
contains the string 'edit', as for example:
<img src="myimage.gif" title="edit" border="0">
How can I manage to do this?
Thanks in advance
I'm writing a little app and I need some html parsing through regular
expressions.
I wrote this piexe of code
Private Function findImgTags(ByVal strHTML As String) As Object
dim MatchObj As Match = Regex.Match(strHTML, "<img[^>]*>",
RegexOptions.IgnoreCase)
return MatchObj
End Function
This should return an object containing all the img tags, unfortunately
returns only the first img
Plus, I need to parse the whole html and find retain only thos img that
contains the string 'edit', as for example:
<img src="myimage.gif" title="edit" border="0">
How can I manage to do this?
Thanks in advance