Global Search and Replace

by Mahmoud Fawzy Khalil
5
4
3
2
1
Score: 53/100

Description

Category: File Management

The Global Search and Replace plugin allows users to perform comprehensive search and replace operations across all markdown files in an Obsidian vault. With support for regex and case-sensitive searches, this tool offers precision and flexibility. Users can navigate through matches, open files directly at the match location, and replace content seamlessly with shortcuts or clicks. The plugin simplifies large-scale edits and enhances workflow efficiency, making it a practical solution for managing consistent changes across a vault.

Reviews

  • Valiente Rodriguez
    Reviewed on Jul 28th, 2026
    god bless

Stats

111
stars
68,432
downloads
9
forks
1,288
days
854
days
854
days
3
total PRs
1
open PRs
0
closed PRs
2
merged PRs
22
total issues
11
open issues
11
closed issues
0
commits

Latest Version

2 years ago

Changelog

README file from

Github

Global Search and Replace for Obsidian

Obsidian Downloads Version

A plugin to do a global search and replace in all of your Obsidian vault files.

showcase

Features

  • Search all of your vault's markdown files for a match
  • Regex support
  • Case-sensitive search support
  • Replace match Enter or click
  • Open note at match Ctrl+Enter on Windows/Linux, Cmd+Enter on Mac
  • Cycle through matches using arrow keys

Installation

Through Obsidian community plugin browser

This plugin is available through obsidian's official plugin marketplace.

Manual

Download a release's main.js, styles.css, and manifest.json files and install it by pasting the files into the VAULT_PATH/.obsidian/plugins/global-search-and-replace folder (enable viewing hidden folders to be able to see the .obsidian folder!)

Usage

Use the command palette and activate the Global Search and Replace: Search and Replace in all files command.

Specifying a string as the replacement

The replacement string can include the following special replacement patterns:

Pattern Inserts
$$ Inserts a "$".
$& Inserts the matched substring.
$` Inserts the portion of the string that precedes the matched substring.
$' Inserts the portion of the string that follows the matched substring.
$n Inserts the nth (1-indexed) capturing group where n is a positive integer less than 100.
$<Name> Inserts the named capturing group where Name is the group name.

$n and $<Name> are only available if the pattern argument is a RegExp object. If the pattern is a string, or if the corresponding capturing group isn't present in the regex, then the pattern will be replaced as a literal. If the group is present but isn't matched (because it's part of a disjunction), it will be replaced with an empty string.

JSCopy to Clipboard

"foo" replace /(f)/,"$2"
// "$2oo"; the regex doesn't have the second group

"foo" replace "f","$1"
// "$1oo"; the pattern is a string, so it doesn't have any groups

"foo" replace /(f)|(g)/,"$2"
// "oo"; the second group exists but isn't matched

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
aDHL
a year ago by tine-schreibt
The Dynamic Highlights Plugin, but with hotkeys, more options and sorting; works well with Highlightr.
Another Quick Switcher
5 years ago by tadashi-aikawa
This is an Obsidian plugin which is another choice of Quick switcher.
April Automatic Timelines
4 months ago by april-gras
Simple timeline generator plugin for story tellers using obsidian
Auto Replacer
a year ago by Alecell
A live text replacement plugin that applies automatic formatting, corrections, or custom replacements in real-time. Define your own regex-based rules and transformation logic to modify text dynamically as you type.
AutoMover
2 years ago by Al0cam
Move files and notes with specified names into their designated folders according to rules you define.
Blockreffer
2 years ago by tyler.earth
An Obsidian plugin to search and embed blocks with ^block-references (aka ^block-ids)
Blue Star
2 years ago by Wang Guoshi
A plugin for Obsidian that generates Anki flashcards in various ways.
Book Search
4 years ago by anpigon
Obsidian plugin that automatically creates notes by searching for books
Bulk Rename
4 years ago by Oleg Lustenko
Card View Switcher
5 years ago by qawatake
An Obsidian plugin to provide a quick switcher with card view
Clipboard Manager
a year ago by Ayush Raj
The clipboard obsidian plugin
Clipper Catalog
2 years ago by Greg K.
A catalog view that provides a powerful interface for all your clipped web articles and content. Easily organize, search, and manage your web clippings within your vault.
CmdSearch
2 years ago by SpaceshipCaptain
Contacts
4 years ago by vbeskrovnov
With this plugin, you can easily organize and manage your contacts within Obsidian. Simply create a note with contact information and use the plugin's features to quickly search, and sort through your contacts. Contacts plugin also helps you to remember birthdays of your contacts and keeps track of the last time you met them.
Copy Search URL
4 years ago by Carlo Zottmann
A plugin for Obsidian (https://obsidian.md) that adds a menu entry to its search view for copying the Obsidian search URL.
Core Search Assistant
5 years ago by qawatake
An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
Custom Selected Word Count
a year ago by banisterious
Custom Selected Word Count for Obsidian
Dynamic Text Concealer
3 years ago by Matt Cole Anderson
Obsidian.md Plugin to conceal or replace user configured text patterns in Live Preview and Read Mode.
EasyLink
a year ago by isitwho
Select text in your obsidian editor to find the most similar content from other notes and easily create links.
Emoji Magic
4 years ago by simplgy
Makes it easier to add emojis using an improved keyword search
External Link Helper
4 years ago by Jhonghee Park
Obsidian plugin for link suggestion
File Explorer++
4 months ago by kelszo
A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
FileName Styler
a year ago by Marc Feininger
An Obsidian plugin to hide, customize, and decorate file names in the sidebar using regex and customizable profiles.
Find and replace in selection
6 years ago by Dmitry Savosh
Obsidian plugin. Find and replace in selection.
Floating Search
3 years ago by Boninall
A plugin for searching text by using Obsidian default search view.
Fuzzy Chinese Pinyin
3 years ago by lazyloong
Giphy
2 years ago by LuCrypto
Hide Commands in Menu
2 years ago by bomian98
Obsidian Plugin, hide different commands in different menus.
Image Picker
2 years ago by ari.the.elk
Journal View
2 months ago by RUverse
A Journal View for Obsidian
Khoj
4 years ago by Debanjum Singh Solanky
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
Lemons Search
2 years ago by Moritz Jung
An Obsidian plugin that offers a fast fuzzy finder based quick switcher with preview.
Linkify
4 years ago by Matthew Chan
LinkMagic
2 years ago by AndyReifman
Local REST API with MCP
4 months ago by Adam Coddington
A secure REST API and Model Context Protocol (MCP) server for your vault.
Media Companion
2 years ago by Nick de Bruin
Mention Autocomplete
2 months ago by Darren Zheng
Type `@` to instantly search and link any note in your vault — with full-text search, rendered preview, and smart sentence extraction.
Moulinette Search for TTRPG
3 years ago by Moulinette
Plugin for Obsidian
NetClip
2 years ago by Elhary
this plugin is for Obsidian that allows you to browse the web and clip webpages directly into your vault.
Note Codes
a year ago by Ezhik
Reference your Obsidian notes from anywhere with simple 4-character codes.
Notebook Navigator
2 months ago by Johan Sanneblad
A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.
Omnisearch
4 years ago by Simon Cambier
A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
Oriko
a month ago by trevware
A pannable, zoomable wall of your web clippings. Sort them into grids, filter by any property, and clip from your phone. Media is downloaded into your vault, so clippings keep their images and videos even if the source page is deleted.
Power Search
5 years ago by Aviral Batra
Quiet Outline
5 years ago by the_tree
Improving experience of outline in Obsidian
Regex Line Filter
a year ago by 64MM4-KN1F3
A note filtering plugin for Obsidian
Regex Mark
2 years ago by Mara-Li
Regex Pipeline
5 years ago by No3371
An Obsidian plugin that allows users to setup custom regex rules to automatically format notes.
Relative Find
5 years ago by phibr0
Search Everywhere
5 years ago by Mom0
Obsidian Search Everywhere Plugin
Search In Canvas
2 years ago by Boninall
Search Templates Library
3 years ago by Pentchaff
Obsidian plugin that allows to store searches templates for later use, and displays search results both in the search view and graph view.
Segerlab
6 months ago by Semyon Kononchuk
Renders calculator views within Obsidian notes from JSON data copied from the Segerlab app.
Semantic Search
3 years ago by bbawj
Semantic search for Obsidian.md
Settings Search
5 years ago by Jeremy Valentine
Adds a search bar to Obsidian.md's settings
Sift
a month ago by disasta-g
Search your notes with substring matching, operators, path and date filters, and ranked results in a large overlay.
Simple CanvaSearch
3 years ago by ddalexb
Tag Links
3 years ago by Zacchary Dempsey-Plante
A plugin for Obsidian that allows tags to be opened as links using a hotkey.
Tag Wrangler
6 years ago by PJ Eby
Rename, merge, toggle, and search tags from the Obsidian tag pane
Text expand
6 years ago by MrJackphil
A simple text expand plugin for Obsidian.md
Text Finder
2 years ago by hafuhafu
Provides a find/replace window in edit mode similar to VSCode (supports regular expressions and case sensitivity).
TG Emoji Search
2 years ago by MarsBatya
Tree Search
2 years ago by catacgc
Unicode Search
4 years ago by BambusControl
Simple Unicode character search for Obsidian.md
URL Formatter
a year ago by Thomas Snoeck
Automatically formats specific URLs pasted into Obsidian into clean Markdown links.
Vantage - Advanced search builder
6 years ago by ryanjamurphy
Vantage helps you build complex queries using Obsidian's native search tools.
Vault Shelf
22 days ago by Lukas Proprentner
Your Obsidian vault as a browsable library: shelves of books built from titles, dates, people, tags, folders or any note property. Customizable to make it your own.
Version History Diff (Sync, File Recovery & Git)
5 years ago by kometenstaub
Get a diff view of your Obsidian Sync, File Recovery and Git version history