Runs in this tab · nothing uploaded

EN

English

हिन्दीComing soon

EspañolComing soon

Pinned
HelpyTools

More

Find and replace

Find and replace text with plain words or regular expressions with capture groups, a live match count and highlighted matches.

Runs in your browserNothing uploadedWorks offline
Loading Find and replaceRuns on this device. Nothing is uploaded.

Questions

How do I use capture groups?

Turn on "Regular expression", wrap parts of the pattern in parentheses and use $1, $2 and so on in the replacement. Named groups work too: (?<year>\d{4}) and $<year>. $& inserts the whole match.

Can I insert a line break?

In regular expression mode, \n in the replacement becomes a new line and \t a tab. In plain mode the replacement is used exactly as typed.

Which regular expression syntax is this?

JavaScript's, with the Unicode flag on, so \p{L} matches any letter. ^ and $ match at the start and end of each line.

↑ ↓ move↵ openesc close

The tray

Install HelpyTools

Get HelpyTools on your home screen or Dock. It opens in its own window, and tools you have opened once keep working offline.