Josefa
0
Q:

how stract avery .jpg string in a website python

import re
data = "ahahahttp://www.google.com/a.jpg>hhdhd"
print re.match(r'(ftp|http)://.*\.(jpg|png)$', data)
0

New to Communities?

Join the community