2018-03-19 html コメントタグ除去 正規表現 これでよいのでは。 /^()/ 他 https://freefielder.jp/blog/2012/09/html-cmt-tag-remove-js.html perl正規表現:htmlコメント部分の削除: m6 BLOG