Search and replace inside the same blocks
-
Is it possible to do search and replace only inside the same blocks of several strings
-
For example: I marked a group of five lines. I want to find the same groups throughout whole text and make the same replacements for each of them. Is it possible?
-
You need a featur called “multi-line find and replace”. E.g. the ToolBucket plugin contains it.
-
Hello, @anatol-sam,
I think so. But we need some details, about the text to change !
Simply, give us one or several example(s) of the bunch(es) of text which you want to search AND the corresponding text which you expect, for each bunch, after the S/R operation !
To be sure that your text will NOT be interpreted with the Markdown syntax, used on this site, simply wrap all your BEFORE and AFTER stuff with, either :
-
The starting line ```z and the ending line ``` ( using the backquote / backtick character
`) -
The starting line ~~~z and the ending line ~~~ ( using the tilde character
~)
For instance :
I have :
```z
Your BEFORE stuff
```And I would like :
~~~z
Your AFTER stuff
~~~So, in short, give us some material to think about :-))
Best Regards
guy038
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login