haha didn't mean to click thanks, was trying to download the source to look at it. How are you retrieving the html document?
He's using Regex..basically it lets you sort/find strings... like how * and ? are for wildcards in dos, but on steroids.
If you want, try String.IndexOf()
basically it will give you the index where it finds a string, for example:
Dim testString as string = "<form name=something action=somethingelse ...> "
Dim leftLoc as Int32 = testString.Indexof("<") '' should = 1
Dim rightLoc as Int32 = testString.IndexOf(">") '' should = end of string
Dim contents as string = Mid(testString, leftLoc, rightLoc)
^^ mess around with it. some string functions are 0 based, some are 1 based, I can't remember. If you play with it for a minute, you'll either get what you expect, or one letter short, and you'll know you got index off by 1 lol
Also, IndexOf() can take a 'start' index, so once you find the first '<', you can find the next one by
Dim indxTwo as Int32 = testString.IndexOf("<",leftLoc + 1)
the +1 might be wrong
