in reply to Lotto table extraction

I would use xpath, step by step instructions below

extracting data from html using xpath

extract data from html with xpath

extract a substring between two emements, its css/xpath time again