refactored pre 2014 SEPA using regexp