Regular Expressions 101

Library entries

Get directive names from javascript code

Vote

1

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by OnlineCop - 6 years ago