html tag regex

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

}

);

posted @ 2020-03-18 11:33  FigureSkating  阅读(148)  评论(0编辑  收藏  举报