I have the following regex that returns keyword values:
var keywords = result.match(/<meta name="keywords" content="(.*?)".*/i)[1];
I also need to be able to support situations where the "keywords" and the "content" properties are in the reverse order e.g:
<meta content="...." name="keywords"
Can anyone advise how I can support both orders?