if($stuff =~ /<head>([.\n]+)</\head>){ $what_i_want = $1; } [download]
Thanks for the help.
In reply to a regex to parse html tags by Anonymous Monk