Regular Expressions 101

Community Patterns

syntax?

1

Regular Expression
ECMAScript (JavaScript)

/
(?:^var ((?!\d).+))|\1
/
gm

Description

trying to figure out how to find variable names only

Submitted by me - 8 years ago