regex - find all links with regular expression in python -


this question has answer here:

i have text full of link address style

href=\'http://address.com\' 

i use re.findall('"((http)s?://.*?)"', srccode) in python 3.4 extract links, doesn't work. how can fix it?

swap quotes

re.findall("'((http)s?://.*?)'", srccode) 

Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -