Stop reopening Notepad just to run Find & Replace. Save your regex rules once, assign a hotkey, then: select → hotkey → paste. Anywhere.
Delete Newline is a system-wide hotkey tool for instant text transformation. Highlight any text in any application — your browser, code editor, PDF reader, chat window — press a hotkey, and the transformed result lands on your clipboard, ready to paste.
No more copy → open editor → paste → find/replace → copy → paste back. Just one keystroke.
- 🔗 Chained regex rules — apply multiple find/replace patterns in sequence
- ⌨️ Multiple hotkey profiles — bind different rule chains to different shortcuts
- 🌐 Works anywhere — capture selected text from any Windows application
- 📋 Auto-clipboard — transformed text is ready to paste immediately
- ⚡ Zero friction — no GUI popup, no extra clicks, no context switching
Tell Delete Newline what you want to do. This setup is required only once per workflow.
- Create a rule chain — add one or more regex rules that define your transformation
- Assign a hotkey — bind a unique keyboard shortcut to that rule chain
Once it's set up, the daily flow is dead simple:
- Select any text (mouse drag or keyboard selection)
- Press your custom hotkey
- Paste — the transformed text is on your clipboard, ready to go
A few real-world examples of what you can build with regex chains:
PDFs frequently break sentences with hard line breaks. Restore the original flow in one keystroke.
| Pattern | Replace with |
|---|---|
[\r\n|\n] |
(single space) |
Remove utm_*, fbclid, gclid, and other junk before sharing a link. This is a great example of chained rules — three small rules combine into a robust cleaner:
| # | Pattern | Replace with | What it does |
|---|---|---|---|
| 1 | [?&](utm_[^=]+|fbclid|gclid)=[^&]* |
(empty) | Removes each tracking param with its separator |
| 2 | ^([^?\n]*)& |
$1? |
Repairs URLs that lost their leading ? |
| 3 | \?$ |
(empty) | Trims a bare trailing ? if all params were tracking |
Chain rules to strip formatting — perfect for pasting into plain-text fields. Rule order matters: bold must run before italic, or **word** gets mangled into *word*.
| # | Pattern | Replace with | What it does |
|---|---|---|---|
| 1 | \*\*(.+?)\*\* |
$1 |
Remove bold |
| 2 | \*(.+?)\* |
$1 |
Remove italic (must run after rule 1) |
| 3 | \[([^\]]+)\]\([^)]+\) |
$1 |
Convert links to plain text |
| 4 | (?m)^#+\s+ |
(empty) | Strip heading markers (#, ##, …) |
Swap date formats without leaving the app you're already in.
| Pattern | Replace with | Result |
|---|---|---|
(\d{4})-(\d{2})-(\d{2}) |
$2/$3/$1 |
2025-04-28 → 04/28/2025 |
Get Delete Newline from the Microsoft Store:
- Windows 11 (build 26100 or later)
- .NET 10
Bug reports, feature ideas, and pull requests are welcome. #

