i try text "xxxxx" between characters.like / xxxxx .doc url link
i trying "item['xxxxx'] = re.search(r'/(.*?)/.doc', item['url']).group(1)"
here unable text of "xxxxx" there correction needed change.
you need escape dot :
re.search(r'/(.*?)/\.doc', item['url']).group(1)
Comments
Post a Comment