Regular Expressions 101

function identifier with arguments

Open Workspace
  • PCRE (Legacy)
  • Substitution
0

Regular Expression

/
(?<a>[^\ \ ]*)(?:\()(?<b>[^\)]*)(?:\))
/
gm

Description

matches a function signature and extracts the function name and the contents of the parenthesis as match groups

Submitted by Anonymous