Answer the question
In order to leave comments, you need to log in
Notepad++ replace (.*) with \10 or more. How to arrange?
There is a line:
книга;страница1-строка1;страница2-строка2;
To replace in each block between the semicolon page with page 1 , I use the expression:
(.*);(.*)-(.*);(.*)-(.*); (найти)
\1;\2-3;\2-\5; (заменить)
These search and replace expressions are great when there are less than 4 blocks between quotes (pages). But I need to replace, for example, the following:
книга;страница1-строка1;страница2-строка2;страница3-строка3;страница4-строка4;страница5-строка5;
книга;страница1-строка1;страница1-строка2;страница1-строка3;страница1-строка4;страница1-строка5;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question