To make the contents of the old/new boxes better visible, specifically when using regular expression, I'd like to suggest to:
Something like the below.