Questions tagged [query-replace-regexp]

The tag has no usage guidance.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
1answer
29 views

How can I catch a block of text to be used in a replacement-part code?

I want to save a block of text in a variable and then do a replacement using that variable in the replacement part. For instance, suppose to do the following replacement: block_of_text ---> \...
1
vote
0answers
54 views

How to replace a block of text with a “query-like” approach all at once?

I want to search and replace a block of text with a "query-like" approach all at once. For example, if I have \emph{``Foo $\bar$ baz''} to be replaced by \emph{Foo $\bar$ baz} using a &...