Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find lines by length in Notepad++? [closed]

Tags:

Is there's a way to bookmark all lines that are over a certain length in Notepad++?

For example, I'm trying to bookmark all lines that have over 15 characters.

like image 574
user2970202 Avatar asked Dec 25 '13 19:12

user2970202


1 Answers

There is an easy way to perform this.

  1. Go to Search > Find... > Select the Mark Tab. Make sure you have Regular expression checked under the Search Mode box and make sure you check the Bookmark Line box.

  2. You want to search for the following, still being under the Mark tab.

    Find what: ^.{15,} 
  3. Finally, click Mark All which bookmarks the lines that have 15 characters or more.

Example:

enter image description here

like image 85
hwnd Avatar answered Sep 30 '22 06:09

hwnd