Regex Replace
Find and replace using regular expressions — with capture group references, live preview, and match count.
Quick examples:
About Regex Replace
Regular expression replacement is one of the most powerful text transformation techniques available. Unlike simple find-and-replace, regex replacement can match complex patterns, capture parts of the matched text with capturing groups, and use those captured parts in the replacement string using backreferences ($1, $2, etc.).
For example, to reformat dates from YYYY-MM-DD to DD/MM/YYYY, use the pattern (\d{4})-(\d{2})-(\d{2}) with replacement $3/$2/$1. The three groups capture year, month, and day respectively, and the replacement reorders them. This kind of structural transformation is impossible with simple string replacement.
Named capture groups ((?<year>\d{4})) allow you to use descriptive names like $<year> instead of numeric indices in replacements, making complex patterns more readable and maintainable. The live preview updates as you type so you can see the effect of your pattern and replacement immediately.