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

Writing Regex Replacer

Jakob LienJakob Lien79 downloads

Replaces your text as you write, using configurable regexes.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

Replaces your text as you write, using configurable regexes.

An obvious use case for this is to expand for example a Jira issue into a link to that issue. The regex need to replace PROJ-123 with [PROJ-123](https://organisation.atlassian.net/browse/PROJ-123) is just:

  • source: PROJ-\d+
  • target: [$0](https://organisation.atlassian.net/browse/$0)

The actual matching and replacing is done using Javascripts replace method on your current line, but a few convenience features are added to make it easier to use.

  • For each pattern (the set of source and target regex), there are two toggles, both of which have tooltips on them:
    1. Whether or not the match needs to have whitespace before it. In the Jira example above, this avoid matching ABCPROJ-123
    2. Whether or not to require a space after the regex before matching. In the Jira example above, this avoids matching and replacing PROJ-1 before you type the second two digits.
  • Javascript replace apparently doesn't support $0 to reference the entire match directly, so the plugin automatically replaces $0 with what javascript does support, $&.

The plugin only replaces as you type, and only on the current line.

HealthExcellent
ReviewSatisfactory
About
Replaces your text as you write, using configurable regexes.
EditingAutomation
Details
Current version
1.0.2
Last updated
2 months ago
Created
2 months ago
Updates
3 releases
Downloads
79
Compatible with
Obsidian 1.13.4+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Jakob LienJakob Lienjakoblien
GitHubjakoblien
  1. Community
  2. Plugins
  3. Editing
  4. Writing Regex Replacer

Related plugins

MetaEdit

Manage your metadata.

Templater

Create and use dynamic templates.

Homepage

Open a note, base, or workspace on startup, or set it for quick access later.

BRAT

Easily install a beta version of a plugin for testing.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Meta Bind

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

Advanced URI

Control everything with URI.

Thino

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

Advanced Tables

Improved table navigation, formatting, and manipulation.