if($line=~/(.*)(\s*)(.*)(<\/value>)(.*)/i)