<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div style="font-family:Arial;">Not a direct answer to your question, but I've been tempted to post this for days.<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">I'd not recommend parsing HTML with Regex.<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;"><a href="https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/">https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/</a><br></div>
<div style="font-family:Arial;"><br></div>
<div id="sig13506521"><div class="signature">(best Stack Overflow answer ever)<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">Deirdre<br></div>
<div style="font-family:Arial;"><br></div>
</div>
<div>On Fri, Apr 6, 2018, at 7:48 PM, Bill Deegan wrote:<br></div>
<blockquote type="cite"><div dir="ltr"><div>To clarify I'm not asking how to do it.  I understand how to do it.<br></div>
<div><br></div>
<div>I'm being lazy (a trait of any good programmer) and asking if someone already has created such a script.<br></div>
<div>It seemed like inserting the google analytics JavaScript blurb in a tree full of HTML files might be something others had done in the past..<br></div>
<div><br></div>
<div>Thanks,<br></div>
<div>Bill<br></div>
</div>
</blockquote><div style="font-family:Arial;"><br></div>
</body>
</html>