Regular Expressions 101

Match all but global.css

Open Workspace
  • JavaScript
  • Match
1

Regular Expression

/
^(?:(?!global\.css$).)*\.css$
/
gm

Description

Match all but .global.css

Submitted by Dan Compton