How can I delete the spaces at the end of lines?
Can I delete lines that contain a certain word without altering the order of the lines?
Notepad++ Questions
#1
Posted 31 March 2014 - 01:36 PM
#2
Posted 31 March 2014 - 01:43 PM
Here's a guide to a program made by one of our members which takes out all the spaces in the list.
http://www.neocodex....-list-helper-d/
Here's the actual program:
http://dyn.kanojo.de/~eefi/listgen.php
Edited by Satsuki, 31 March 2014 - 01:44 PM.
#3
Posted 31 March 2014 - 02:03 PM
Is there no such function with Notepad++?
#4
Posted 31 March 2014 - 02:11 PM
Under Edit > Blank Operations, there is "Trim Trailing Space"
Removing lines containing a specific may require making a macro.
#5
Posted 02 April 2014 - 08:33 AM
could try using regex
#6
Posted 12 April 2014 - 06:10 AM
CTRL + F -> click the "mark" tab, check "Bookmark line", search for the word you want to delete
then go Menu->search->bookmark-> removed bookmarked lines.
#7
Posted 30 April 2014 - 07:10 PM
There is no direct function for what you described for Notepad++. Have to use find or replace method in Notepad++. But the good thing is that Notepad++ allows you to replace blank spaces with extended functions like "\r, \n..".
#8
Posted 11 May 2014 - 02:46 PM
Dont use Notepad++
Look into an editor called Sublime Text, i use to use npp but found this at my job and its a lot better.
Also, the regex you want is replace: (^ +)
#9
Posted 11 May 2014 - 03:35 PM
Dont use Notepad++
Look into an editor called Sublime Text, i use to use npp but found this at my job and its a lot better.
Also, the regex you want is replace: (^ +)
That RegEx would only remove literal spaces at the end of lines, there's an escaped character for whitespace: "\s".
(^\s+)
The following makes use of carriage returns "\r" and newlines, too "\n".
(^[\r\n\s]+)
#10
Posted 11 May 2014 - 08:20 PM
He said spaces I was not concerned about newlines and return carriages.
Also, \s includes newlines and return carriages (since we seem to be in the business of correcting each-other).
#11
Posted 12 May 2014 - 08:35 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users