Dig out path : Match : Regular Expressions PYTHON TUTORIALS


PYTHON TUTORIALS » Regular Expressions » Match »

 

Dig out path


import re


match = re.match('/(.*)/(.*)/(.*)', '/usr/home/joe')
print match.groups(  )



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Regular Expressions
» Match