in reply to regular expression assistance

I am bound by the modules that already exist within the Perl build on the laptops
Regex is open source. You can use its code.