I am trying to search the phrase of numbers in a html page in the
sentence below:
(253 items)
I used this piece of code, but it does not work,
limit= page.search("div[class=Results]").search("div").gsub("items","")
begin
Integer(limit)
rescue
return 0
end
Would you give me any suggestion on this?