Home > Development Tools > notepad > How to convert one line into multiple lines according to delimiter in Notepad++

How to convert one line into multiple lines according to delimiter in Notepad++

(*-*)浩
Release: 2019-08-21 16:06:40
Original
12227 people have browsed it

I was doing something today, and when I encountered the following characters, I wanted to put each word, such as cluster, zookeeper, on a separate line

[cluster, activemq, controller, brokers, zookeeper, admin, isr_change_notification, kafka_eagle, otter, 
controller_epoch, kafka-manager, consumers, SPARK_TASK_OFFSET_CONFIG, config, hbase]
Copy after login

So, after thinking about it, I used commas as separators in notepadd character into a newline character to convert one line into multiple lines.

How to convert one line into multiple lines according to delimiter in Notepad++

1.Ctrl f to open search (recommended learning: notepad )

2. Replace

3.Regular expression

How to convert one line into multiple lines according to delimiter in Notepad++

##4.

Find the target and fill in "," and replace it with Fill in "\r" [\r is the carriage return in windows]

5.

Click "Replace All", the effect is as follows:

How to convert one line into multiple lines according to delimiter in Notepad++Remarks: This completes a basic cutting, cutting a single row into multiple rows.

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

Related labels:
Statement of this Website
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
Latest Issues
Why is my hosts notepad blank?
From 1970-01-01 08:00:00
0
0
0
Teacher Notepad++ how to make prompt code
From 1970-01-01 08:00:00
0
0
0
Notepad++ will not use
From 1970-01-01 08:00:00
0
0
0
The contents of hosts notepad are incorrect
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template