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\n]+)\ *|([^\'"<\r\n]+)|\'(.*?)\'|"(.*?)"|(?P<subrule><[^>|\s]+>)|([<]+)
/
g
Input 1
1
<int_arith_ops_protected>'('<int_var_const>','<int_var_const>')'
Extraction
<int_arith_ops_protected>'('<int_var_const>','<int_var_const>')'