Regex Text Replacement
Replace text matched by a regular expression, with configurable flags and replacement text.
№ 038Runs locally
What this tool does
Regex Text Replacement. Replace text matched by a regular expression, with configurable flags and replacement text.
When to use it
Use it for repeatable edits such as changing patterns across many lines at once.
How to use
- Try this sample input first: text: cat 7 · pattern: \d · replacement: #.
- Choose or adjust the options this tool provides; leave unrelated settings at their defaults.
- Run the tool and read any validation or status message. Correct the input format before trying again if needed.
- Check whether the result matches the example output: cat #. Then copy or download it.
Your input and files are processed in this browser. They are not uploaded by this toolbox.
Input and output example
text: cat 7 · pattern: \d · replacement: #cat #