Regular Expressions 101

Community Patterns

Regex for not considering dist and subfolders

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!(dist[\/]?((.*)?[\/]?\b)))
/
gm

Description

Regex for not considering dist and subfolders

Submitted by anonymous - 6 years ago