Search for text and replace all occurrences instantly, with optional case sensitivity and regular expression support.
Google AdSense Banner
This area will contain advertisements after approval.
Google AdSense Banner
This area will contain advertisements after approval.
This tool searches your text for every occurrence of the value you enter in 'Find,' and replaces each one with your 'Replace With' value. By default, it treats your search term as plain text, not a pattern.
Enabling 'Use Regular Expression' lets you use pattern-matching syntax in the Find field, for example \d+ to match any sequence of digits, useful for more advanced find-and-replace operations beyond exact text matches.
Plain text mode: finding 'cat' and replacing with 'dog' in 'The cat sat on the mat' gives 'The dog sat on the mat', only the standalone word 'cat' is matched, not 'cat' as a substring of some other word. Regex mode: finding \d+ and replacing with 'NUM' in 'Item 42 costs $19' gives 'Item NUM costs $NUM', every run of digits gets replaced, regardless of exact value.
Leaving 'Use Regular Expression' off when you actually meant to match a pattern (like any digit or any whitespace), without it, your Find value is treated as literal text, not a pattern.
Forgetting that regex special characters (like ., *, +, ?, (, )) have meaning in regex mode, searching for a literal period or parenthesis in regex mode requires escaping it with a backslash, or the search may match more than intended.
Expecting case-sensitive matching by default, case sensitivity is off by default here, so 'Cat' would also match 'cat', enable the case-sensitive option if that distinction matters.
No, all find-and-replace processing happens directly in your browser, your text is never transmitted anywhere.
If you enable regex mode and enter an invalid pattern, the tool will show an error explaining the pattern couldn't be processed.
Google AdSense Banner
This area will contain advertisements after approval.