java - How to replace string in Eclipse with newline in replacement -


of course question can googled - of hits old , don't seem apply in eclipse mars.

i want replace line multiline replacement. there must way this, can't seem find works.

replace

import a.b.c.d; 

with

import e.f.g.h; import i.j.k.l; 

first need check "regular expressions" add \r between line. example ctrl+f, select "regular expressions" "find" box put : import a.b.c.d; "replace with" box put : import e.f.g.h;\rimport i.j.k.l; been replaced , separate line want.


Comments