Find and Replace in a List
Tools and Utilities • Text and List Utilities
Frequently Asked Questions
What is the difference between per-item and entire text replacement?
Per-item processes each line independently, which is useful for lists where each item stands alone. Entire text treats the input as one block, so matches and replacements can occur across line breaks.
How does whole word find and replace work?
Whole word replacement matches only complete words, not parts of larger strings. A word match means the found text is not inside a larger letter, number, or underscore sequence.
When should case-insensitive replacement be used?
Use case-insensitive replacement when capitalization should not matter, such as normalizing names or keywords. Use case-sensitive replacement when uppercase and lowercase must be treated as distinct.
What does the simple regex mode do in this calculator?
Simple regex mode allows flexible pattern matching using JavaScript regular expressions. If the pattern is invalid, the calculator reports an error so the replacement is not applied incorrectly.
Why do trim and ignore empty lines matter in list find and replace?
Trimming removes extra spaces at the start or end of each line so matching is more consistent. Ignoring empty lines prevents blank items from appearing in the processed output when the input contains extra line breaks.