in reply to Re^5: RegExp substitution
in thread RegExp substitution

Thank you, I realise it's perhaps not the norm but the way you've broken down the code here is the way I'm currently thinking while programming in Perl and was very easy to understand. Furthermore, having seen your other post recommending I take a step back and look at basic RegEx I'm now going through those tutorials.