Skip to content
MewixMewix

Find and replace

Type the exact text to find and what to put instead — every literal match in the box is replaced when you run the tool.

Updated by the Mewix team

Literal find and replace, not regex

The engine replaces text with plain JavaScript split(find).join(replace). There is no regular-expression toggle in the interface — patterns like \d+ or .* are treated as ordinary characters. For regex experiments use the regex tester in Checkers, then paste results here if you only need a fixed string swap.

Replacing line breaks and special characters

Newlines inside the Find field match real line breaks in your input, so you can turn double line feeds into a single space or remove a repeated footer line. Tabs and spaces must match exactly; invisible differences are a common reason a find appears to miss.

Questions

What happens if Find is left empty?

An empty find string splits between every character, which can explode the text into a huge result. Always type a non-empty find string unless you know you need that edge case.

Can I replace only the first occurrence?

No — every non-overlapping match of the find string is replaced. For one-off edits, change that spot manually in your editor.