I am trying to create a python regular expression that can match any name. I am scraping a web page and looking for the <h1>
tag and grabbing the name in between it. The names can include James Dean, James-Dean, Brian O'Quin, Jame Joe-Harden, etc...
This was the first regular expression I have been working with but it is not catching all the names
<h1>[A-Z]{1}[a-z]+\s[A-Z]{1}[']?[A-Z]?[-]?[A-Z]?[a-z]+
name
example [link](http://www.espn.com/college-football/player/_/id/4360076/dylan-oquinn). I am trying to grab the player's name at the top of the page – Ethan Collins Dec 21 '18 at 21:41