首页 > 解决方案 > 查找和替换所有 CSS 样式 Google 表格

问题描述

我正在浏览一张包含 600 行 html 和 css 的表格,我需要一个月的时间来手动删除所有 css.. <style + everything inside here + </style>google 表格中所有实例的正则表达式是什么?

标签: regexgoogle-sheetsgoogle-sheets-formula

解决方案


<\s*style[^>]*>(.*?)<\s*\/\s*style>

https://www.regexpal.com/index.php?fam=117599


推荐阅读