V
V
vasyapupkyn2018-08-23 16:21:37
Regular Expressions
vasyapupkyn, 2018-08-23 16:21:37

How to search for multiple values ​​in a string in Notepad++?

Hello. I just can’t find a solution to my problem:
There are a lot of texts of such a plan in a text file:

======<Информация о видео>======
Категория - [email protected]:Hadfsdfs
Кодовое слово - twancool3:Yuibtfmgytbmkt1
Вываыва - https://google.com
Стоимость: 0,--€
-------<Подробное описание>--------
Укава: 1496 days ago
Активность:
Дата Рег: ываыаыа
LvL: 1
ываыв: None
ываыв: None
ывавыавы: None
выаываыв: None
ываыва: 1
чмчсм: Нет
чмчсм: Да
-------<видео 1>-------
чсмсчмчсмчс 0.6 часов 

-------<авыавыаыва>------- 

================================================

Here you need to find the lines LvL: [1-3]and cut out with the line together Кодовое слово -.
That is, the output should turn out
Кодовое слово - twancool3:Yuibtfmgytbmkt1
LvL: 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2018-08-24
@vasyapupkyn

Open the file in the notepad
Open the menu -> search -> notes
, write what we need to find
, select the parameters, as on the screen,
click mark all,
go to the menu -> search -> bookmarks -> cut (or copy) all lines with a bookmark,
paste the received lines somewhere apart

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question