Skip to content

Find and Replace

Embed

Paste this where you want Find and Replace on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/find-and-replace/" width="100%" height="500" frameborder="0" loading="lazy" title="Find and Replace"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/find-and-replace/">Find and Replace</a> by BrowserUtils</p>

Find and replace text with regex support.Runs in this tab.

Next step

About Find and Replace

Free online find and replace tool. Search and replace text with support for regular expressions, case sensitivity, and global matching. It runs in your browser. Nothing is sent to a server.

Questions

Can I use regular expressions?
Yes, toggle the regex mode to use full JavaScript regular expression syntax in your search pattern, including capture groups and backreferences in the replacement string.
How do I replace all occurrences at once?
Enable the global flag (on by default) to replace every match in the text. With global off, only the first match is replaced.
Can I use capture groups in the replacement string?
Yes, when regex mode is on you can reference capture groups with $1, $2, etc. in the replacement string. This is useful for reordering or wrapping matched text.
Is find and replace case-sensitive?
By default yes, but you can toggle case-insensitive mode to match regardless of letter case.

More in Text & String Utilities

All 28 text & string utilities