正则表达式获取html标签方法1:var d = document.createElement("div")d.innerHTML = '<tr><td class="ppprod_left2023-03-02html-css340