Regular Expressions 101

Community Patterns

exclude test and spec files

0

Regular Expression
PCRE (PHP <7.3)

/
^((?!.*-test\.js$|.*\.spec\.js$))
/
gm

Description

no description available

Submitted by anonymous - 6 years ago