Doing a lot of regular expression search and replacements can be a hassle sometimes. I've found that a tool on macOS called "Better Rename" does a fantastic at showing a preview / live view of what is selected and then the result of the replacement:
Is there an editor on macOS that gives a similar style of having multiple panes to show the regex matches and the resultant replacements that will be made?
So far the closest thing I've found so far is in Sublime Text
where it gives a preview of the selection of a regex, but not the change / replace function...