Find & Replace
Search and replace text with regex support and case sensitivity controls.
How it works
- Paste your text into the input area.
- Enter the find pattern and the replacement string. Toggle regex or case-sensitive mode if needed.
- The transformed result appears on the right — replacements happen as you type.
Common use cases
- Renaming variables across a pasted code snippet.
- Stripping HTML tags from copied text with a simple regex.
- Standardising punctuation (e.g. converting straight quotes to smart quotes).
- Replacing dates, IDs, or names across long documents.
Frequently asked questions
What regex syntax is supported?
JavaScript regular expressions — the same syntax used in browser DevTools. You can use groups, character classes, quantifiers, and flags. Lookbehind support depends on your browser.
Can I reference capture groups in the replacement?
Yes. Use $1, $2, … to insert capture groups from the regex match into the replacement string.
What happens if my regex is invalid?
The tool catches the error and shows the original text unchanged. Fix the pattern and the result updates automatically.
Is case sensitivity on by default?
Yes — case-sensitive matching is the default. Toggle the option to ignore case.
Related tools
Other free text utilities from Your Daily Text Kit.