Regular Expressions 101

regex for del

Open Workspace
  • PCRE2 (PHP)
  • Match
0

Regular Expression

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

Description

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

Submitted by Anonymous