Wednesday, 11 September 2013

What is a regex to replace all "System.out.println()" with empty space?

What is a regex to replace all "System.out.println()" with empty space?

I need to remove all System.out statements from my code on eclipse.
example:
System.out.println("hello"); System.out.println("hello" +a);
System.out.println(1 +b12);
basically all system out statements no matter what their parameter is
I have to the following but it doesn't even come close
System.out.println(.)*;?

No comments:

Post a Comment