Find and Replace

Search and replace across any text with optional regular expressions, case sensitivity, and whole-word matching. Every match is highlighted live before you apply, so you always see exactly what will change.

Preview (matches highlighted)

Result

Regex mode: the Find box is treated as a JavaScript regular expression, so patterns like \d+, colou?r, or (foo|bar) work, and the Replace box supports capture-group references like $1. With regex mode off, the search text is matched literally, special characters included. Whole word wraps the search in word boundaries so "cat" will not match "catalog". Replace all only changes the Result box; your original text stays untouched above, so you can tweak and re-run safely. Everything runs locally in your browser.