My name regex has been proven faulty on a couple entries:
find_name = re.search(r'^[^\d]*', clean_content)
The above would output something like this on a few entries:
TERRI BROWSING APT A # current output
So, I need a way to trim that out; it's tripping the rest of my program. The only identifier I can think of is if I can somehow detect the second space; and remove all characters after it.
I only need the first and last name; i.e.
TERRI BROWSING # desired
After I remove those characters I could just .strip()
out the trailing space, just need a way to remove all after second space.... or maybe detect only to get two words, nothing more.