Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为android设备开发了一个代码。现在我想制作一个安装文件。我可以在我的应用程序中添加一段代码以在执行安装后删除源文件(安装程序)吗?我希望我的客户不再访问设置或无法将其用于其他设备,是否有其他解决方案?
我正在使用这个正则表达式来尝试查找看起来像这样的链接,并将它们替换为仅链接的开始和结束标记之间的内容。
正则表达式:
/<a class="tag_link"[^>]*>([^<]*)<\/a>/mg
我在示例代码上测试了正则表达式并且它可以工作,但是当我尝试