比较经典的:
>>> import re
>>> re.findall('(?<=com/).*$', "www.example.com/thedubaimall")
['thedubaimall']
>>> re.findall('(?<=com).*$', "www.example.com/thedubaimall")
['/thedubaimall']
比较经典的:
>>> import re
>>> re.findall('(?<=com/).*$', "www.example.com/thedubaimall")
['thedubaimall']
>>> re.findall('(?<=com).*$', "www.example.com/thedubaimall")
['/thedubaimall']