Office

Notepad++ 로 빈줄 없애는 방법

esource 2014. 8. 20. 23:42



빈 줄 (Empty Line) 없애는 방법

1. Search > Replace

2. Search Mode아래에 "Regular expression" 을 선택 

3. "Find What"에 ^\s* 를 넣고 "Replace with"에는 아무 값을 넣지 않는다.



설명:

^ 는 줄의 시작하는 곳 (Beginning of the line)

\s* 는 any number (even 0) of whitespace characters.