Regex Replace Tester
Test regex find and replace formatting
Source Input
Processed Output
What is the Regex Replace Tester?
Regex Replace Tester takes a pattern, a replacement string (supporting capture groups like `$1`, `$2`), and sample text to output the substituted string.
Frequently Asked Questions (FAQ)
Q: How do I reference capture groups?
Use `$1`, `$2`, etc. in the replacement string to substitute matched parenthesized capture groups.