Find and replace
Type what to find and what to put in its place, and see the result and the number of matches update as you go.
Plain mode treats what you type literally, so a full stop is a full stop. Switch on regular expressions when you need patterns and groups.
0 words, 0 characters
Questions
- Is my text sent anywhere?
- No. Every count and every conversion happens in this page as you type. There is no server here that could receive what you paste, and you can check it in your browser's network tab: typing produces no requests at all.
- What is the difference between plain and regex?
- Plain mode looks for exactly the characters you type, so "a.b" matches "a.b" and nothing else. Regex mode reads your search as a pattern, so "." means any character and "(\d+)" captures a run of digits you can reuse in the replacement as $1.
- How do I reuse part of a match?
- In regex mode, wrap the part in brackets and refer to it in the replacement as $1, $2 and so on. Turning a date around, for example: find (\d{4})-(\d{2})-(\d{2}) and replace with $3/$2/$1.
- What if my regular expression is wrong?
- It tells you, rather than doing nothing or breaking. An unclosed bracket or a stray quantifier produces a message under the field, and the text is left untouched until the pattern is valid.
- Is it case-sensitive?
- You choose. There is a toggle; by default it ignores case, which is what most everyday replacing wants.
The other tools here
- Word counter, words, characters, sentences and reading time
- Case converter, upper, lower, title and sentence case
- Clean text, fix spacing, line breaks and duplicate lines
- Remove duplicate lines, keep the first of each line, drop the rest
- Sort lines, a to z, z to a, numeric, or shuffle
- Lorem ipsum, placeholder text, by paragraphs or words
- Read aloud, have text spoken by your device's voice
- Transcribe speech, turn a recording or mic into text, on your device