I have a list of data in notepad and want to insert a space in the beginning of each line.
Example
This is how it looks in the notepad now
Number
"123"
"123"
"124"
"126"
"147"
I want it to look like below
Number
"123"
"123"
"124"
"126"
"147"
I am sure there is some short cut. Please advice.
Change the line spacing in a portion of the documentPress Ctrl + A to select all. Select Line Spacing Options and choose an option in the Line spacing box. Adjust the Before and After settings to change spacing between paragraphs. Select OK.
Press the "Enter" or "Return" key on your computer keyboard to insert a space between the lines or blocks of text. You can insert as many paragraph spaces as you want by pressing the key more than once.
To add a space in a text editor, move the cursor to the place where you want to add the space, using either the arrow keys on your keyboard or by clicking there with your mouse, then press the space bar in your keyboard.
Open your file in Notepad++
Press Ctrl+H to open the Replace window.
Change the "Search Mode" to Regular expression.
In the "Find what" box, type (\n|^)
In the "Replace with" box, type \1
(with your spaces or tab at the end)
Then click "Replace All"
Note: If you want tabs instead of spaces, a tab character can be typed with Alt+09
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With