Search and Replace
Find and replace text across transactions.
Overview
The Search and Replace dialog finds and replaces text across all visible transactions in the current ledger. Open it from the ledger toolbar button or by pressing Ctrl+H.
Fields
| Field | Description |
|---|---|
| Search Text | The text to find. |
| Replace With | The replacement text. Leave empty to delete matched text. |
Search Scope
Three checkboxes control which transaction fields are searched:
| Checkbox | Description |
|---|---|
| Include Code | Searches in the code field. Off by default. |
| Include Memo | Searches in the memo field. Off by default. |
| Include Payable To/Description | Searches in the payee field. On by default. |
You can enable any combination of these to search across multiple fields at once.
Match Options
Three checkboxes refine how the search text is matched:
| Option | Description |
|---|---|
| Case Sensitive | Distinguishes between uppercase and lowercase letters. Off by default. |
| Entire Text | Requires the entire field to match the search text, not just a substring. Off by default. |
| Regex | Treats the search text as a regular expression with capture group support. Off by default. |
How It Works
When you click OK, the operation runs immediately on all transactions currently visible in the ledger. Each selected field in each transaction is checked against the search text, and matching text is replaced.
There is no preview or per-transaction confirmation step. The replacement happens in one pass across all visible transactions.
After completion, a message reports how many transactions were modified (for example, "3 Transactions Modified"). The ledger updates in place to reflect the changes.
Tips
- Filter first. Use the ledger filter to narrow the visible transactions before running a search and replace. The operation only affects transactions that are currently displayed.
- Use regex for complex patterns. With the Regex option enabled, you can use regular expression syntax for advanced matching, including capture groups in the replacement text.
- Combine with Entire Text. Enable both Regex and Entire Text to anchor the pattern to the full field value.
Buttons
| Button | Description |
|---|---|
| OK | Runs the search and replace operation. |
| Cancel | Closes the dialog without making changes. |
| Help | Opens this help topic. |
Note: The entire help system is available as a single Markdown file suitable for teaching your favorite AI agent to be your personal Principal Plan expert. Download