<p>I'm trying to fetch some HTML from various blogs and have noticed that different providers use the same tag in different ways.</p>

<p>For example, here are two major providers that use the meta name generator tag differently:</p>

<ul>
<li>Blogger: <code>&lt;meta content='blogger' name='generator'/&gt;</code> (content first, name later and, yes, single quotes!)  </li>
<li>WordPress: <code>&lt;meta name="generator" content="WordPress.com" /&gt;</code> (name first, content later)</li>
</ul>

<p>Is there a way to extract the value of content for all cases (single/double quotes, first/last in the row)?</p>

<p>P.S. Although I'm using Java, the answer would probably help more people if it where for regular expressions generally.</p>

Those differences are not really important according to the XHTML standard.
In other words, they are exactly the same thing.
Also, if you replace double quotes with single quotes would be the same.
The typical way of 'normalizing' an xml document is to pare it using some API that treats the document as its Infoset representation. Both DOM and SAX style APIs work that way.
If you want to parse them by hand (or with a RegEx) you have to replicate all those things in your code and, in my opinion, that's not practical.