第118天 使用正则去掉html中标签与标签之间的空格
Activity
Clearives commentedon Aug 12, 2019
nowherebutup commentedon Aug 12, 2019
EmiyaYang commentedon Aug 12, 2019
珠玉在前
ywywZhou commentedon Nov 4, 2021
htmlStr.replace(/>\s+</g, '><')
xiaoqiangz commentedon Jul 7, 2022
htmlStr.replace(/>\s+</g, '><')