Removing a repeated prefix
Find: ^ITEM- (regex on) Replace: (empty) Text: ITEM-1042\nITEM-1043
1042 1043
Find and replace text with plain matching or a regular expression, with a live match count.
The result will appear here.
Was this tool useful?
Find and replace is the operation behind a dozen other tools — cleaning up a CSV export, renaming a variable across a pasted snippet, fixing a recurring typo in a document. Doing it with plain text search is enough for a literal string; a regular expression is what you reach for when the thing you're matching has a pattern rather than one exact spelling.
Find: ^ITEM- (regex on) Replace: (empty) Text: ITEM-1042\nITEM-1043
1042 1043
Trim whitespace, collapse repeated spaces, remove blank lines and normalize line endings.
Write and test regular expressions against sample text with live highlights.
Convert text to camelCase, PascalCase, snake_case, kebab-case and more.