作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有这个测试:11814591,安德森·罗杰里奥·卡莱托,125.73、123.06、17.50
11270013,安德烈·亚历山大·莫拉斯,120.07、117.66、15.71
11143569,安德烈·安德拉德·达·莫塔,132.03,
129.06、14.52
哪里有 [,\n] 我想只替换 [, ],但我找不到 [, ] 并且 [\n] 每次只能得到一个。
有人可以帮助我吗?
最佳答案
这样就可以了。在 replace 字段中,它是一个空白字符。
Find: (?<=,)\n
Replace:
输出
11814591, Anderson Rogerio Carleto, 125.73, 123.06, 17.50
11270013, Andre Alexandre Moraes, 120.07, 117.66, 15.71
11143569, Andre Andrade da Mota, 132.03, 129.06, 14.52
关于regex - 如何在Notepad++中查找和替换特定字符?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23420156/
我是一名优秀的程序员,十分优秀!