Implement regular expression that takes in old naming convention.