Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(?<=^|[^\S\r\n]+|\})\.\D[\w-]+
/
gm

Description

This selects all (non crazy) CSS class in all valid scenarios

Submitted by anonymous - a year ago