Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

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

Description

trying to figure out how to find variable names only

Submitted by me - 9 years ago