Regular Expressions 101

main() replacer

Open Workspace
  • Python
  • Substitution
0

Regular Expression

r"
[\w ]+ main\([\w ]*\){(?P<body>(?:\n|.)+)}
"
g

Description

replaces the main function from c

Submitted by Anonymous