Home  >  Article  >  Development Tools  >  How to convert multiple lines into one line in notepad++

How to convert multiple lines into one line in notepad++

(*-*)浩
(*-*)浩Original
2019-08-05 15:36:4910856browse

The last time I used the scenario of merging multiple rows, I queried more than 40 fields from the database. I had to write an insert statement to insert these 40 fields. After formatting with plsql, the fields were displayed in multiple rows.

How to convert multiple lines into one line in notepad++

Create a new file and enter the following content (recommended learning: notepad )

How to convert multiple lines into one line in notepad++

Select the row content to be merged

How to convert multiple lines into one line in notepad++

##Click Edit - Row Operations - Merge Rows

How to convert multiple lines into one line in notepad++

You can also directly press the shortcut key for merging rows (ctrl j) to merge without filtering through regular expressions\n

How to convert multiple lines into one line in notepad++

The above is the detailed content of How to convert multiple lines into one line in notepad++. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn