How to grab .// with regex python? -
why not work? in regex finder, matches. i'm trying grab .//
in strings
pat = '[\.\/]+(?!(docx|doc|pdf))' bad = re.compile(pat) bad.findall(tails[1]) print tails[1] ".//2005 neuropathophys.doc"
this pattern seems work on regex matcher website http://regex101.com/
Comments
Post a Comment