Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(int\s*|String\s*)[\[\]\w]*\s*[\,\)]
"
g
Input 1
1
New
public int maxNumber ( int abf , int a123 , int abc48 , String a[] ) ;
Extraction
public int maxNumber ( int abf , int a123 , int abc48 , String a[] ) ;