Question need to get first line with the lottery numbers from html text

inkedgfx

Well-known member
Joined
Sep 29, 2012
Messages
139
Location
USA
Programming Experience
Beginner
I am having a difficult time getting the most recent winning numbers from the lottery website....I have some code that will get the html from the site , the problem I am having is ....I dont know how or where to start to get the exact line of numbers I need...the line will change twice a week.....but it will always be the first line with the numbers in it..... example of the text I need to extract the numbers from below.....the first line with the date and numbers is what I am after.....

FLORIDA LOTTERY Winning Numbers History


11-JAN-2013 Page 1 of 20


Please note every effort has been made to ensure that the enclosed information is accurate; however, in the event of an error, the winning numbers in the official record of the Florida Lottery shall be controlling.




FLORIDA LOTTO


--------------------------------------------------------------------------------

------> 01/09/13 19 - 20 - 24 - 27 - 42 - 51 X4 <--------- this is the line I need.........07/18/12 1 - 3 - 7 - 23 - 33 - 44 X5
01/05/13 8 - 19 - 21 - 23 - 36 - 40 X4 07/14/12 8 - 19 - 31 - 37 - 41 - 51 X5

01/02/13 9 - 17 - 27 - 44 - 48 - 51 X2 07/11/12 16 - 19 - 26 - 31 - 39 - 50 X3
12/29/12 15 - 18 - 21 - 31 - 40 - 41 X2 07/07/12 2 - 6 - 17 - 26 - 31 - 40 X3

12/26/12 1 - 6 - 22 - 24 - 32 - 48 X5 07/04/12 7 - 11 - 21 - 28 - 43 - 46 X4

I appreciate the help.....again

InkedGFX
 
*UPDATE*

it seems that the code is working and getting all the winning numbers ...the problem is with my
Dim NUMstr As String = String.Join(WinningNumSmallString, WinningNumLargeString)

seems this is not joinning the two strings



InkedGFX

 
*UPDATE*

I removed the string.join and used dim NUMstr = WinningNumSmallString & WinningNumLargeString

this works fine......

I wonder why string.join didnt work like I thought it would?

InkedGFX
 
Back
Top