Discussion › Forums › discussion › Finding empty lines
This topic contains 2 replies, has 3 voices, and was last updated by NickDMax 1 month, 2 weeks ago.
Basically ill spare the long and boring details, but i need a way of quickly finding all empty lines in a document. I can do it manually but the problem is i have 363,397 lines of code.
anyone have any advice on this??
thankyou in advance
Search for (ctrl+f), tick “regular expression”
“^” Start of line
“\s*” zero or more whitespace characters (tabs, spaces, …)
“$” End of line
Often I have to find and remove blank lines.
This can be done by with the following search
this search begins at the beginning of the line “^”, grabs up any white space “\s*” (including end of line markers), and then ensure the match ends with end of line marks “[\r\n]+”
You leave the replace field blank.
You must be logged in to reply to this topic.