如何用正则表达式处理以下复杂问题?
{"id":"53","url":"www.baidu.com","title":"TESTtile","text":"ABC\n\nCDEF\n\nAXBCE..."}...
{"id": "53", "url": "www.baidu.com", "title": "TESTtile", "text": "ABC\n\nCDEF\n\nAXBCE..."}
{"id": "52", "url": "www.QQ.com", "title": "TESTtile2", "text": "XX12\n\nCDEF\n\nA1234XBCE..."}
-------能否用正则表达式把上面的内容合并输出为下面的-
[""ABC\n\nCDEF\n\nAXBCE....",“XX12\n\nCDEF\n\nA1234XBCE....”] 展开
{"id": "52", "url": "www.QQ.com", "title": "TESTtile2", "text": "XX12\n\nCDEF\n\nA1234XBCE..."}
-------能否用正则表达式把上面的内容合并输出为下面的-
[""ABC\n\nCDEF\n\nAXBCE....",“XX12\n\nCDEF\n\nA1234XBCE....”] 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询