In addition, i remember thinking about to do it with regex as i started realizing the idea, but than i realized that attributes can be in arbitrary order such as
Code:
<meta name="xyz" content="123">
Code:
<meta content="123" name="xyz">
This would have required more coding, checking the first variant and if not found, try to find the second variant to see if its present.