Find and replace text online (regex supported)

Replace every match in a long text at once — match case, whole words or use regular expressions.

About Find and replace

Paste text, type what to find and what to replace it with; every match is replaced and counted. Use \n for a line break — e.g. replace \n with , to turn a list into one line.

Tick “Use regex” to search with patterns such as \d+ (every number) and refer to captured groups with $1, $2 in the replacement. Your text stays on your device.

FAQ

How do I collapse repeated spaces?

Tick “Use regex”, find \s{2,} and replace with a single space.

More tools here

Other tools you may like