Regular Expressions 101

Library entries

extract JavaScript function name

Vote

1

Regular Expression
javascript

/
^\s*function\s+(\w+)\s*\(
/

Description

Loading markdown...
Submitted by Jack A. - 7 years ago