Find & Replace
Bulk find and replace across any block of text with plain text or regex patterns. Supports case-sensitive matching, global replace, and regular expression capture groups.
How to use the find & replace
Paste text, enter what to find and what to replace with. Toggle regex mode to use patterns (capture groups: $1, $2…).
Formula & explanation
Plain mode escapes special regex characters so you find literal text. Regex mode uses your pattern as-is. Replacement supports $1..$9 backreferences.
Examples
Plain: find "color" → "colour" replaces every occurrence. Regex: find "(\w+)@(\w+)" → replace "$2/$1".
Frequently asked questions
- What is the difference between plain and regex mode?
- In plain mode, special regex characters like . and * are treated as literal text. In regex mode, your find string is interpreted as a regular expression, giving you pattern matching, wildcards, and capture groups.
- How do I use backreferences in the replacement?
- Switch on regex mode, wrap the part you want to reuse in parentheses in the Find field, then reference it as $1, $2, etc. in the Replace field. For example, find '(\d+)-(\d+)' and replace with '$2-$1' to swap two numbers.
- Does this replace all occurrences or just the first?
- All occurrences are replaced in a single pass, equivalent to using the global flag in a regular expression.
- How do I do a case-insensitive find?
- Uncheck the Case sensitive option. This makes the search ignore letter case so 'apple', 'Apple', and 'APPLE' all match.
Related text & string tools
- Text DiffSide-by-side diff comparison of two text blocks with line-by-line highlighting. Shows added, removed, and changed lines — useful for comparing document versions or config files.
- Text ReverserReverse the characters, words, or individual lines of any text. Useful for debugging palindromes, creating mirror text, or just having fun with strings.
- Lorem Ipsum GeneratorGenerate paragraphs, sentences, or words of classic lorem ipsum placeholder text. Choose the amount and copy instantly — useful for mockups, wireframes, and design prototypes.
- Sort Lines / Sort List OnlineSort a list of words, names, or numbers — alphabetically A→Z or Z→A, numerically, or randomly. Paste any list and get sorted results instantly.
- Word & Text CounterCount words, characters, lines, sentences, and reading time instantly. Paste any text — article, essay, or code — and get a live breakdown. Also shows unique word count and average word length.
- Text to URL SlugConvert any title or string into a clean, hyphenated URL slug. Strips accents, punctuation, and spaces. Useful for generating SEO-friendly URLs and blog post paths.