Here's how you do it by not using RegEx
No libraries, pure vanilla JS:
var meta = document.querySelectorAll('meta');
for(var i=0;i<meta.length;i++){
var content = meta[i].getAttribute('content'); /* here's the content */
}
jQuery:
$('meta').each(function(index,tag){
var content = tag.getAttribute('content');
});