Multiline Regular Expressions

There are a lot of text editors that offer regular expression search and replace, but rare are those that support multiline regular expressions. In my case I need to find all the function headers with starting body bracket.
example:
"int a(int b, int c)
{"

should be changed with
"int a(int b, int c)
{
printf("Entered function a");"

Text editor that supports such thing is called "EditPad Pro". Besides multiline regular expression support, it also have coloring system for your regular expression, so u can debug your regex easier.

To be edited with regular expressions that solved my problem

Comments

Popular posts from this blog

Timeline on Latex

Exporting Skype Chat/Skype Contacts to csv file using the shell script and sqlite3 (usually already installed on mac)

trim() not supported by IE7 and IE8