Regular Expressions 101

Community Patterns

1...56789...902

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?ni)^(([a-z]):)?(([\\\/]([^\\\/*?:\"\<\>|]{1,260}))+)$
/
gm

Description

Match paths

Submitted by os_niko - a year ago