<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
<script>
var str =`<p>请问开发一个快车共享的app预算需要多少</p><p><br></p><p><br></p><p>墨轴旗舰店:潘雪会2021-3-11 04:45:25</p><p>您好,中犇科技欢迎您,我公司专业APP及软硬件 开发,15年开发经验,400+软硬件工程师,5000+行业案例<br>若未及时回复,您可以留下【手机号(或维信)+开发需求】,值班项目经理第一时间联系您,协助您确认软件各项功能,免 费帮您出方案和预算。<br><a href="alires:///WebUI/chatmsg/recent.html?debug=true&type=0&enable_report=1&dlguniqname=6acda4be-b219-42b5-9fc5-c26c71deb9d9¶m=%7B%22actiondata%22%3A%22%22%2C%22actiontype%22%3A0%2C%22cid%22%3A%7B%22appkey%22%3A%22%22%2C%22nick%22%3A%22%22%7D%2C%22gids%22%3A%5B%5D%2C%22readmsgid%22%3A%22%22%2C%22readmsgtime%22%3A%22%22%7D&lang=zh_CN#TemplateMsgAction#["wangx://p2sconversation/package?serviceType=cloud_auto_reply&toId=cntaobao%E5%A2%A8%E8%BD%B4%E6%97%97%E8%88%B0%E5%BA%97:%E6%BD%98%E9%9B%AA%E4%BC%9A&number=1&bizType=1&sendChatMsg=APP%E5%BC%80%E5%8F%91%E5%A4%9A%E5%B0%91%E9%92%B1&bizId=17050693&fromId=cntaobao%E8%AF%BA%E5%A4%A7%E4%B8%AA&questionText=APP%E5%BC%80%E5%8F%91%E5%A4%9A%E5%B0%91%E9%92%B1"]">APP开发多少钱</a><br><a href="alires:///WebUI/chatmsg/recent.html?debug=true&type=0&enable_report=1&dlguniqname=6acda4be-b219-42b5-9fc5-c26c71deb9d9¶m=%7B%22actiondata%22%3A%22%22%2C%22actiontype%22%3A0%2C%22cid%22%3A%7B%22appkey%22%3A%22%22%2C%22nick%22%3A%22%22%7D%2C%22gids%22%3A%5B%5D%2C%22readmsgid%22%3A%22%22%2C%22readmsgtime%22%3A%22%22%7D&lang=zh_CN#TemplateMsgAction#["wangx://p2sconversation/package?serviceType=cloud_auto_reply&toId=cntaobao%E5%A2%A8%E8%BD%B4%E6%97%97%E8%88%B0%E5%BA%97:%E6%BD%98%E9%9B%AA%E4%BC%9A&number=2&bizType=1&sendChatMsg=%E5%85%AC%E5%8F%B8%E5%9C%A8%E5%93%AA%E9%87%8C%EF%BC%9F&bizId=17050702&fromId=cntaobao%E8%AF%BA%E5%A4%A7%E4%B8%AA&questionText=%E5%85%AC%E5%8F%B8%E5%9C%A8%E5%93%AA%E9%87%8C%EF%BC%9F"]">公司在哪里?</a><br><a href="alires:///WebUI/chatmsg/recent.html?debug=true&type=0&enable_report=1&dlguniqname=6acda4be-b219-42b5-9fc5-c26c71deb9d9¶m=%7B%22actiondata%22%3A%22%22%2C%22actiontype%22%3A0%2C%22cid%22%3A%7B%22appkey%22%3A%22%22%2C%22nick%22%3A%22%22%7D%2C%22gids%22%3A%5B%5D%2C%22readmsgid%22%3A%22%22%2C%22readmsgtime%22%3A%22%22%7D&lang=zh_CN#TemplateMsgAction#["wangx://p2sconversation/package?serviceType=cloud_auto_reply&toId=cntaobao%E5%A2%A8%E8%BD%B4%E6%97%97%E8%88%B0%E5%BA%97:%E6%BD%98%E9%9B%AA%E4%BC%9A&number=3&bizType=1&sendChatMsg=%E6%9C%89%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F%E5%90%97%EF%BC%9F&bizId=17050708&fromId=cntaobao%E8%AF%BA%E5%A4%A7%E4%B8%AA&questionText=%E6%9C%89%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F%E5%90%97%EF%BC%9F"]">有联系方式吗?</a><br></p><p>已读</p><p><br></p><p>墨轴旗舰店:潘雪会2021-3-11 08:35:39</p><p>您好在的</p><p>已读</p><p><br></p><p>可以制作的</p><p>已读</p><p><br></p><p>麻烦您上线后回复我下, 我安排项目经理专线和您详细沟通报价,不会耽误您太多时间。</p><p>已读</p><p><br></p><p><i></i>以上为历史消息</p><p>诺大个2021-3-12 16:53:33</p><p>好的不好意思,您可以联系18994095832</p><p><br></p><p><br></p><p>墨轴旗舰店:小犇2021-3-12 16:53:56</p><p>您好 您要做什么类型的APP呢</p><p>未读</p><p><br></p><p>好的</p><p>未读</p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p>`
var b=/<a([\s]+|[\s]+[^<>]+[\s]+)href=(\"([^<>"\']*)\"|\'([^<>"\']*)\')[^<>]*>/gi;
str = str.replace(b,'<span>')
str = str.replace(/<\/a>/gi,'</span>')
console.log(str)
</script>
</html>