Regular Expressions 101

Community Patterns

10

entity

Python
no description available
Submitted by anonymous - 8 years ago

Match Linux File basename and pathname

0

Regular Expression
PCRE (PHP <7.3)

/
(\/.*?\/)([^\/](?:[^\/]|\\\/)+?)(?:(?<!\\)\s|$)
/

Description

Loading markdown...
Submitted by Steve Sant - 9 years ago