Here is the code I have so far:
import re
from urllib.request import urlopen
pg = urlopen('http://www.url.com')
pg_r = pg.read()
pg.close()
print(pg_r)
print(re.search('(?<=http://user.url.com/)\w+', pg_r))
What I *want* to do with re.search is find the word between the strings 'http://user.url.com/' and '"' but I'm not sure how to do that..
Can anyone help me with the regular expression for that?