[Solved] Regex Help need to pull NFL Team name from a string


(=[A-Z])(\w|\%20|\.)+

This will capture only the team names and the space characters between them, with leading “=”. Then you can replace “%20″ with ” ” and split the resultant string along “=” so you’ll have a list of strings, each separately a team name. At least, that’s what I’d do in Python. Not sure what methods are available to you.

1

solved Regex Help need to pull NFL Team name from a string