Microdeck.tools 100% In-Browser

Chained Multi-Rule Bulk Find & Replace

New

Transform logs, CSV columns, SQL dumps, or code snippets in repeatable steps instead of running manual single find-and-replace dialogs over and over. Stack multiple enabled/disabled rules in exact top-to-bottom sequence with regex capture groups (`$1`, `$2`), `\n`/`\t` escape expansion, whole-word boundaries, and per-rule match counts.

100% In-Browser No Server Storage Instant Results
Chained Replacement Pipeline (6 total matches)
#1
3 matches
#2
3 matches
Transformed Output

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

How It Works Under the Hood

Rules execute sequentially (`rule 1 -> rule 2 -> ...`), compiling each enabled pattern either as an escaped literal/word-boundary (`\b...\b`) or raw JavaScript global regex with `$1..$9` capture backreferences and per-rule match telemetry.

Step-by-Step Instructions

1

Paste your raw log, CSV, config, or source text into Original Text.

2

Configure ordered replacement rules in the top pipeline, toggling Regex, Case Sensitive, or Whole Word per step.

3

Temporarily disable individual steps with checkboxes without deleting them, or click Add Rule to chain more passes.

4

Verify live per-rule match counts and copy Transformed Output.

Key Features & Performance

  • Sequential multi-rule execution lets output of Rule #1 feed cleanly into Rule #2
  • Supports full regex patterns plus `$1`..`$9` capture group substitutions and `\n` / `\t` escapes
  • Per-rule diagnostics show exact match counts or non-crashing regex syntax errors immediately
  • Per-step Enable/Disable checkboxes make iterative transformation debugging effortless
  • 100% browser-local: safe for internal credentials, emails, and confidential database exports

Methodology, Formulas & Technical Standards

Escaped literal mode neutralizes regex metacharacters cleanly before optional `\b` word-boundary wrapping; regex mode resolves numeric capture backreferences explicitly during callback replacement.

Common Real-World Use Cases

  • Scrubbing legacy domains, email addresses, and internal hostnames in one repeatable pass before sharing logs
  • Reformatting copied database rows or markdown bullet lists into SQL/JSON snippets in 3 chained steps
  • Applying multi-step code codemods or CSS prefix migrations offline
  • Splitting or joining delimited lines using regex capture groups and `\n` escapes

Worked Examples & Edge Cases

Two-Step Log Normalization

Input
Rule 1: @old-domain.com -> @microdeck.tools | Rule 2: user_id=(\d+) -> uid:$1
Output
uid:101, email=alice@microdeck.tools...

Transforms both patterns deterministically in a single copyable view.

Capture Swap with Newlines

Input
Regex: (\w+)=(\d+) -> $2:$1\n
Output
Swaps key/value pairs and inserts line breaks simultaneously

Supports `$0` (full match) through `$9`.

Limitations, Scope & Accuracy Notes

  • • Catastrophic backtracking patterns (nested quantifiers like `(a+)+` on huge strings) can stall single-threaded JS execution — test complex regexes cleanly.
  • • Empty `Find` fields stay ignored cleanly until non-empty characters are typed.

Local Browser Processing & Privacy

Traditional web converters upload your documents, snippets, or media files to remote servers. Chained Multi-Rule Bulk Find & Replace runs inside your browser tab:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

Working outputs stay in your browser tab and are released when you reset the tool or close the tab.

Frequently Asked Questions

In what order do rules execute?

Strictly top-to-bottom (`#1` -> `#2` -> `#3`). Subsequent rules transform the updated text produced by earlier enabled rules.

Do `$1`, `$2` capture groups work in Regex mode?

Yes. Wrap tokens in parentheses `(...)` in Find and reference `$1`, `$2`, or `$0` in Replace.

What happens if I type an incomplete regex like `[abc` while editing?

The broken rule displays its syntax error message inline without crashing your input or preventing other rules from running.

Are sensitive files processed securely?

Yes. Everything runs locally inside your browser tab memory.

Explore Related Micro-Tools

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD):Selected:$5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.