Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Regex Find/Replace

gru80gru8065k downloads

A find/replace dialog which optionally supports regular expressions and scope (full document or text selection).

  • Overview
  • Scorecard
  • Updates3

Provides a dialog to find and replace text in the currently opened note. In addition to Obsidians on-board find/repace function, this plugin provides options to

  • use regular expressions or just plain text
  • replace found occurances in the currently slected text or in the whole document

Desktop as well as mobile versions of Obsidian are supported.

Regex FindReplace Dialog

How to use

  • Run Regex Find/Replace: Find and Replace using regular expressions from the command palette or
  • Assign a shortcut key to this command and use it to open the dialog
  • The plugin will remember the last recent search/replace terms as well as the settings

How to install

From inside Obsidian

This plugin can be installed via the Community Plugins tab in the Obsidian Settings dialog:

  • Disable Safe Mode (to enable community plugins to be installed)
  • Browse the community plugins searching for "regex find/replace"
  • Install the Plugin
  • Enable the plugin after installation

Manual installation

The plugin can also be installed manually from the repository:

  • Create a new directory in your vaults plugins directory, e.g.
    .obsidian/plugins/obsidian-regex-replace

  • Head over to https://github.com/Gru80/obsidian-regex-replace/releases

  • From the latest release, download the files

    • main.js
    • manifest.json
    • styles.css

    to your newly created plugin directory

  • Launch Obsidian and open the Settings dialog

  • Disable Safe Mode in the Community Plugins tab (this enables community plugins to be enabled)

  • Enable the new plugin

Version History

1.0.0

Initial release

1.1.0

  • Case insensitive search can now be enabled in the settings panel of the plugin (regex flag /i)
  • Find-in-selection toggle switch is disabled if no text is selected in the note
  • Performance improvements and bug-fixes

1.2.0

  • Option to interpret \n in repleace field to insert line-break accordingly
  • Option to pre-fill the find-field with the selected word or phrase
  • Used regex-modifier flags are shown in the dialog
HealthGood
ReviewSatisfactory
About
Find and replace text in the current note using regular expressions or plain text. Apply changes to the selected text or the whole document, interpret \n in replacements, use regex flags like case-insensitive, and recall recent search/replace terms and settings.
SearchEditingCommands
Details
Current version
1.2.0
Last updated
5 years ago
Created
5 years ago
Updates
3 releases
Downloads
65k
Compatible with
Obsidian 0.12.17+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
gru80gru80
www.gruware.org
GitHubgru80
  1. Community
  2. Plugins
  3. Search
  4. Regex Find/Replace

Related plugins

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Heading Shifter

Easily Shift and Change Markdown headings.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Keyshots

Add classic hotkey/shortcuts commands from popular IDEs like Visual Studio Code or JetBrains Family.

Paste URL into selection

Paste URL "into" selected text.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.

Thino

Quickly capture memos and display them in the sidebar with a heatmap. (Closed source)