Searching for strings in html pages

Hi I want to know how I can search for a string in some
for example i want to open and search for the string
"Welcome Adrian"

You could try Hpricot [ ]. A
guide to doing the most common things that Hpricot does, like
searching, is here: