Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-03-31 15:07
Flavor·Python

r"
(.*")(.*\/)(.*)(".*)
"
Open regex in editor

Description

Find a quoted unix style path in text block, breaking the text block into constituent parts, 1 before the quoted path starts 2 the path 3 the filename 4 whats left

Submitted by AndyGif