simpleonline
Active member
- Joined
- Sep 13, 2011
- Messages
- 33
- Programming Experience
- Beginner
Hey guys I'm trying to setup my RegEx to grab the link of <IMG> SRC tags.
Right now my code doesn't do anything when I have it setup this way.
Any ideas on how I can setup my regex to grab the link of the src?
Example:
src="hxxp://myimageishere"
Thanks
Right now my code doesn't do anything when I have it setup this way.
VB.NET:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim net As New Net.WebClient()
Dim src As String
src = net.DownloadString("http://www.wikihow.com/Make-Easy-Homemade-Biscuits")
' Create a match using regular exp<B></B>ressions
Dim m As Match = Regex.Match(src, "")
' Spit out the value plucked from the code
RichTextBox1.Text = m.Value
End Sub
End Class
Any ideas on how I can setup my regex to grab the link of the src?
Example:
src="hxxp://myimageishere"
Thanks