Regular Expressions 101

Community Patterns

negative lookahead for files in Sublime Text SFTP package

0

Regular Expression
PCRE (PHP <7.3)

/
^((?!screen).)*\.css
/
gm

Description

I use this in "ignore_regexes" to only upload css files starting with screen.

Submitted by localhorst - 8 years ago