I have a file with a bunch of information. For example, all of the lines follow the same pattern as this:
Nebraska
s = 'Nebraska'
in:
s.split('>')
out:
['
s.split('>')[1].split('<')
['Nebraska', '/school']
s.split('>')[1].split('<')[0]
'Nebraska'