split-template.pl - moved regexes into variables for easier customisation
split-template.pl - adding more variables to ease customisation