16657Re: Creation of clip
- Jun 21, 2007Sheri wrote...
> I haven't been following this thread in detail, but if he just wantsIndeed - why not this way...
> to remove lines having a keyword, wouldn't it be better to use a
> replace command (replacing keyword lines with "") instead of using
^!Set %Keywords%=^?[(T=O;F="Textfiles (*.txt)|*.txt")Choose Keyword
^!Set %Case%=^?[Case-sensitive search:==Yes^=(?-i)|_No^=(?i)]
^!Replace "(\r\n)+" >> "|" AWRS
^!Replace "\|\Z" >> "" AWRS
^!Replace "\A\|" >> "" AWRS
^!Close ^%Keywords% Discard
^!Menu Edit/Copy All
^!Menu Edit/Paste New
^!Replace "^%Case%^.*(^%Search%).*\r\n" >> "" AWRS
- << Previous post in topic Next post in topic >>