Basic Text
Find and Replace
Replace literal text or a regular expression, with a count of what changed.
Replaces text with other text. In literal mode the search term is matched exactly, so characters like . and * mean themselves. In regular-expression mode the term becomes a pattern and $1, $2 in the replacement refer to capture groups. Whole word requires the match to sit on word boundaries, so "cat" will not match inside "concatenate".
Options
Use $1, $2 … in the replacement to reference capture groups.
Match cat but not cats or concatenate.
Off replaces only the first match.
InputText is processed entirely in your browser.
0lines0words0characters0 B
Output
0lines0words0characters0 B
Options explained
- Regular expression — Use $1, $2 … in the replacement to reference capture groups.
- Whole word only — Match cat but not cats or concatenate.
- Replace all matches — Off replaces only the first match.