Cristian you are right, never experienced visual regexp, is incredible. I created pyMatch to help me in the automation scripts and text formatting, so I decided to work from the command line. You're right, you can also do this with sed, but sed has a small defect "in my view", you will be able to use a maximum of 10 groups in it and also the visual regexp.
If you want to read more: http://stackoverflow.com/questions/10992650/how-to-get-10th-grouping-value-in-sed -- https://mail.python.org/mailman/listinfo/python-list