Problem: Eclipse deletes hollow lines in the project file
Solution:
1. Open the source code editor.
2. Use the shortcut key Ctrl + F. Be sure to select Regular Expressions (Regular Expression )!!!
3. In the find input box, enter ^ \ s * \ n.
3. The value of the Replace with input box is null.
4. Select "Regular Expressions" in options"
5. Click replace all.
6. OK!
Common Regular Expression
Remove/**/(eclipse)/\ * (. | [\ r \ n]) *? \*/
Remove // (eclipse) //. * $
Remove import (eclipse) import. * $
Remove empty line (eclipse) ^ \ s * \ n
Remove empty row (UE) % [^ t] ++ ^ P
Set
Replace with <C: Out value =/"/$/{Af. Map. $1/}/"/>
^ Hello starts with "hello ".
Hello $ ends with Hello
Match the string ending with </title> :.*? </Title>
Match a string starting with <title>: <title> .*
Match a string starting with <title> </title>: <title> .*? </Title>