简体   繁体   English

在记事本++中的“ \\”字符后删除换行符“ \\ n”

[英]Remove the line break “\n” after a “\” character in Notepad++

I have a CSV file that contains about 100'000 records some of which have been broken into multiple lines at a "\\" character in the source data during the export. 我有一个CSV文件,其中包含约100'000条记录,其中一些在导出过程中已在源数据中的“ \\”字符处分成多行。 Can any one help me with an expression to remove any line breaks that follow the "\\" character in the data. 谁能帮我一个表达式,以删除数据中“ \\”字符后的任何换行符。

  1. In the "Replace" dialog, select "Extended" from the "Search Mode" section (bottom left of the dialog). 在“替换”对话框中,从“搜索模式”部分(对话框左下方)选择“扩展”。
  2. In the "Find what" box type: \\\\\\n 在“查找内容”框中,键入: \\\\\\n
  3. In the "Replace with" box type: \\\\ 在“替换为”框中,键入: \\\\
  4. Hit "Replace All" 点击“全部替换”
  5. Enjoy 请享用

查找和替换对话框

Good afternoon. 下午好。 Did you try clicking on the " Edit " menu and " Convert line breaks " from the application "Notepad ++"? 您是否尝试从应用程序“记事本++”中单击“ 编辑 ”菜单和“ 转换换行符 ”?

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM