Regex to remove duplicate scripts from html file
Let's say you have a HTML file with a couple duplicate scripts, meaning multiple external script tags for the same resource, like loading jquery 3 times on the page.  Is there an efficient regular expression that can remove the duplicates but keep the first one in place.
Regex to remove duplicate scripts from html file
===

Let's say you have a HTML file with a couple duplicate scripts, meaning multiple external script tags for the same resource, like loading jquery 3 times on the page.  Is there an efficient regular expression that can remove the duplicates but keep the first one in place.