http://www.perlmonks.org?node_id=370714


in reply to Debugging Regexes

There is a program called The Regex Coach which may well help you. It allows you to test regexes interactively and also shows the regex in english form and other details such as the parse tree.
It is available for windows and linux and is free, I have found it quite useful.