notepad++ - Notepad++ regular expression remove parts of string
问题描述
I want to remove some strings with notepad++ but can't find the correct regular expression:
"This text is ok. This part should be removed","More Text that should stay"
i am looking for something like: Find "This part" and remove everything until the first ",
解决方案
找到解决方案:替换:此文本是可以的。(.|\r\n)*?(",)
推荐阅读
- arrays - 关于数组的问题之间的区别
- ms-access-2007 - Access 2007 - 两个只读表,几个最终用户 - 设计查询
- javascript - 如何递归地将数组中的每n个元素传递给函数
- swift - 如何在 Swift 中读取结构的字节
- c# - 来自参考表的绑定 ComboBox 填充值
- javascript - 正则表达式来验证重音、空格和只有字母
- python - 为什么 Node.js 安装解包一些 Python 包?
- node.js - 运行 npm build 时出现以下错误
- node.js - 按 Id 显示 React 属性
- java - 从线程执行器服务中的 cmd.exe 进程运行进程不会删除终止的进程