Code2care : TechZone Apps & Tutorials

Add blank lines after each line using Notepad++ Text Editor



If you have a requirement wherein you want to add blank lines after each line in a text file, you can achieve it using Text Editors which supports Find and Replace using Regular Expressions.


Using Notepad++



    1. Open the file in Notepad++

    2. Press Ctrl + H to open Find and Replace Option.

    3. Choose Select Mode : Extended.

    4. In the Find text filed add : \n

    5. In Replace with : text field add : \n\n, click Replace All.



You would see that there is a blank line added after each line.



Other way :


    1. Open Find and Replace,

    2. Choose Select Mode : Regular Expression .

    3. Find : $

    4. Replace with : \n


$ implies end of line.











Top




Posts related to notepadplusplus.


1. How to Do Column Mode Editing in Notepad++

2. Setting up Cloud feature with Notepad++

3. Base64 Encoding Decoding In Notepad++

4. Add blank lines after each lines using Notepad++ text editor

5. 97 Useful Notepad++ Keyboard Shortcuts List

6. Compare Files with Notepad++ Plugin

7. Convert SQL to CSV in Notepad++

8. 15 Notepad++ Editor alternatives for Mac OS X

9. Disable Control Scroll Zoom-in and Zoom-out in Notepad++

10. How to Convert CSV file to SQL Script using Notepad++

11. Using Document Map in Notepad++

12. Add Blank Lines Notepad++

13. How to remove blank lines from a file using Notepad++

14. Add Text at Start and End of Each Line Notepad++

15. Indent XML Formatting In Notepad++

16. Replace tabs by spaces or comma Notepad++

17. ASCII to HEX and HEX to ASCII Conversion Notepad++

18. Error opening file for writing Notepad++ Setup

19. Launch Notepad++ html document in any web browser

20. How to do Multi-Line Editing in Notepad++

    more...






Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17