Re: [VB.NET express 2005] - Regular expressions
- From: "Herfried K. Wagner [MVP]" <hirf-spam-me-here@xxxxxx>
- Date: Sat, 14 Jan 2006 12:47:52 +0100
"Movie Maniac®" <isotopiPUSSAVIABRUTTOSPIDER@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> schrieb:
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 :(
Use 'Regex.Matches' instead of 'Regex.Match'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
.
- Follow-Ups:
- Re: [VB.NET express 2005] - Regular expressions
- From: Movie Maniac®
- Re: [VB.NET express 2005] - Regular expressions
- References:
- [VB.NET express 2005] - Regular expressions
- From: Movie Maniac®
- [VB.NET express 2005] - Regular expressions
- Prev by Date: Re: Regional settings cause runtime crash
- Next by Date: Re: some advice
- Previous by thread: [VB.NET express 2005] - Regular expressions
- Next by thread: Re: [VB.NET express 2005] - Regular expressions
- Index(es):