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
main() replacer
Open Workspace
Python
Substitution
Created 2017-10-19 17:02
0
Regular Expression
r"
[
\w
]
+
main
\(
[
\w
]
*
\)
{
(?P<body>
(?:
\n
|
.
)+
)
}
"
g
Description
replaces the main function from c
Submitted by
Anonymous