To deal with the edge case was simply a regex adjustment instead of /\d/ we would be looking for one or more /\d+/