For my case, I want replace all my code that contain character ;
to ;\n
but, I don't want to do it for characters inside for loop.
int a=5;String B="";
for(int i=0;i<a;i++)
System.out.println(i);
so, I want result like this :
int a=5;
String B="";
for(int i=0;i<a;i++)
System.out.println(i);
I have no idea how to make it.