Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^.*((2020Model|Engine|TIMFCST).*\.dba|.*\.dta)
/
gm

Description

Deletes all .dta and .dba files that one wants within a directory

Submitted by anonymous - 2 years ago