html tag regex

html = html.replace(
/(<link.+?href="|<script.+?src="|<img.+?src=")(.+?)"/g,
//@ts-ignore
(m, $1, $2) => {

}

);

原文地址:https://www.cnblogs.com/skating/p/12516338.html