regex - 查找和替换所有 CSS 样式 Google 表格
问题描述
我正在浏览一张包含 600 行 html 和 css 的表格,我需要一个月的时间来手动删除所有 css.. <style + everything inside here + </style>
google 表格中所有实例的正则表达式是什么?
解决方案
<\s*style[^>]*>(.*?)<\s*\/\s*style>
推荐阅读
- r - 在为多个搜索字符串搜索多个列时如何使用str_detect
- kubernetes - Pod 拥有比预期更多的资源
- python - discord.py on member join ,给出角色命令
- python - 在 on_member_join 事件中添加 ctx
- postgresql - PostgreSQL COPY 附加页眉 - csv 中的页脚行
- mongodb - 如何将字符串附加到 MOngoDB robo3T 中的数组
- javascript - 如何使用 D3.js 给末端边缘添加阴影
- r - 在R中以tiff格式加载光栅图像
- ios - 无法在swiftUI中导入模块“没有这样的模块”
- c - 评估“else if”是否与评估 C 中的“if”所花费的 CPU 时间一样多?