Find and Replace
Find and replace text, with optional regular expressions, capture groups, case sensitivity and whole words.
Runs in your browserText → Text
Loading tool…
Example
Contact: 2024-01-31
Contact: 31/01/2024
How to use the Find and Replace
- Paste or type your Text into the input area, or open a file from your device.
- Adjust the options above the editor if the tool offers any.
- Review the Text result, then copy it or download it as a file.
Privacy and limitations
- Your data is processed on your device and is not uploaded to any server.
Frequently asked questions
How do I use capture groups?
Enable "Regular expression", wrap parts of the pattern in parentheses and refer to them as $1, $2… (or $<name> for named groups) in the replacement. $& inserts the whole match.
Related converters
Regex TesterTest JavaScript regular expressions live with highlighted matches, a capture group table and a replace preview.Remove AccentsStrip diacritics from letters (é → e, ü → u, ß → ss, ø → o) while keeping the rest of the text.Text to Slug ConverterTurn titles into clean URL slugs: lower case, accents removed, punctuation replaced by hyphens.Add Line NumbersPrefix each line with its number, with a choice of format, starting number and padding.Remove Line BreaksJoin lines into a single line, optionally keeping paragraph breaks, for pasting copied PDF text.Text RepeaterRepeat a word or text many times with a newline, space, comma or tab separator and optional numbering.Trim WhitespaceTrim leading and trailing spaces from every line and collapse repeated spaces and tabs.Extract Email AddressesPull every email address out of text, HTML or logs, with optional de-duplication and sorting.