Format numbers and combine multipe matches