摘要: str.match(/(?<=\[).*?(?=\])/g) 正则匹配以[开头以]结尾包含[] str.match(/\[.*?\]/g) 正则匹配 {} 以及大括号中间的内容str.match(/\{[^\{]+\}/g) 阅读全文
posted @ 2020-09-16 16:45 刘欣欣 阅读(7872) 评论(0) 推荐(0) 编辑