in reply to Reg Expressions
$html = "<html><meta name=\"description\" content=\"sf\"></html>"; $html =~ /<meta.+?name\s*=\s*("|')description\1\.+?content\s*=\s*("|') +(.*?)\2/; print $3; [download]