Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\.directive\(['"]([^'"\n]+)['"]
/
g

Description

Get directive names from javascript code

Submitted by OnlineCop - 9 years ago