Possible Duplicate:
Method to parse HTML document in Ruby?
If in the variable results I have:
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><link rel="stylesheet" type="text/css" href="http://2.ai/styles/hello.css" media="screen"/><title>Welcome to Dotgeek.org * 1.ai</title></head><body>..... etc
How can I parse, if possible without using any gem, the title of that HTML page that I now have in the results variable?