emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Search and replace excluding code blocks?
@ 2024-01-29 23:47 Vikas Rawal
  2024-01-31  1:58 ` Berry, Charles
  0 siblings, 1 reply; 2+ messages in thread
From: Vikas Rawal @ 2024-01-29 23:47 UTC (permalink / raw)
  To: org-mode mailing list

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

Hi all,

Is it possible to search and replace a regex/string in an org file
excluding the code blocks from its scope?

Say, I want to replace all opening quotes (") by backticks(``) in the text
but not in the code blocks. Is there a way one could achieve that?

Thanks,

Vikas

[-- Attachment #2: Type: text/html, Size: 400 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-31  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 23:47 Search and replace excluding code blocks? Vikas Rawal
2024-01-31  1:58 ` Berry, Charles

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).