Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Function arguments regex
Open Workspace
PCRE (Legacy)
Match
Created 2023-02-17 20:14
0
Regular Expression
/
[^
,()
]
+
(?:
\(
(?:
(?R)
(
,
(?R)
)*
|
[^
,()
]
+
|)
\)
)?
/
g
Description
A simple regex to match individual arguments of a function.
Submitted by
Anonymous