EmEditor (text editor) Forum Index
   Questions and Answers about Macros
     delete all lines that match any of the regexes that are in a txt file
Register To Post

Flat Previous Topic | Next Topic
Poster Thread
Stefan
Posted on: 5/15/2012 9:16 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 259
Re: delete all lines that match any of the regexes that are in a txt file

If it allowed to match ANY number between '918' and '1884' ?

Then try:


for ( Numb = 918; Numb <= 1884; Numb++){
  document.selection.Replace("^" + Numb + ".*$", "", eeFindNext 
   |  eeFindReplaceRegExp | eeReplaceAll);
}








Or the showed numbers only?


.
Flat Previous Topic | Next Topic


Subject Poster Date
   delete all lines that match any of the regexes that are in a txt file user 5/11/2012 12:39 am
     Re: delete all lines that match any of the regexes that are in a txt file user 5/14/2012 1:43 am
       Re: delete all lines that match any of the regexes that are in a txt file user 5/15/2012 12:43 am
       » Re: delete all lines that match any of the regexes that are in a txt file Stefan 5/15/2012 9:16 am
           Re: delete all lines that match any of the regexes that are in a txt file user 5/16/2012 12:15 am
             Re: delete all lines that match any of the regexes that are in a txt file Stefan 5/16/2012 3:49 am
               Re: delete all lines that match any of the regexes that are in a txt file user 5/16/2012 5:41 am

Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文