I've got it. With "^.*,CW.*\n" it worked. How can I delete the last empty line?
Torsten
Search found 5 matches
- Tue Mar 03, 2015 9:15 pm
- Forum: Regular Expressions (Archived)
- Topic: Delete entire rows
- Replies: 7
- Views: 28767
- Tue Mar 03, 2015 6:00 pm
- Forum: Regular Expressions (Archived)
- Topic: Delete entire rows
- Replies: 7
- Views: 28767
Re: Delete entire rows
Here are three lines as an example:
S50ARX,S5,EU,3525.5,80m,PA4N,PA,EU,CQ,30,2012-08-25 00:00:00,25,CW
G0PZA,G,EU,3525.5,80m,PA4N,PA,EU,CQ,16,2012-08-25 00:00:01,25,BPSK
VE2WU,VE,NA,14019.3,20m,YO2BBX,YO,EU,CQ,25,2012-08-25 00:00:01,19,CW
Each line with ",CW" should be deleted. With "$" does not ...
S50ARX,S5,EU,3525.5,80m,PA4N,PA,EU,CQ,30,2012-08-25 00:00:00,25,CW
G0PZA,G,EU,3525.5,80m,PA4N,PA,EU,CQ,16,2012-08-25 00:00:01,25,BPSK
VE2WU,VE,NA,14019.3,20m,YO2BBX,YO,EU,CQ,25,2012-08-25 00:00:01,19,CW
Each line with ",CW" should be deleted. With "$" does not ...
- Mon Mar 02, 2015 9:27 pm
- Forum: Regular Expressions (Archived)
- Topic: Delete entire rows
- Replies: 7
- Views: 28767
Re: Delete entire rows
In regular expression tester it works very well. "^.*,XX.*\r\n" brings the correct result (,XX indicates that searching word). But not in the main window. Here is the message: No matches found. In both cases, I have the same settings. Is this a bug or what could I have done wrong?
Torsten
Torsten
- Mon Mar 02, 2015 11:39 am
- Forum: Regular Expressions (Archived)
- Topic: Delete entire rows
- Replies: 7
- Views: 28767
Re: Delete entire rows
Ok, thank you for the quick reply, I will try it.
Torsten
Torsten
- Mon Mar 02, 2015 8:09 am
- Forum: Regular Expressions (Archived)
- Topic: Delete entire rows
- Replies: 7
- Views: 28767
Delete entire rows
Hello,
at first, sorry for my bad english. But I try it anyway. I want to search for a word and delete the entire row in which it occurs. So far I have used it with another program and used this command: " ^.*,XX.*\R " (XX indicates that searching word). But this does not work with TextCrawler ...
at first, sorry for my bad english. But I try it anyway. I want to search for a word and delete the entire row in which it occurs. So far I have used it with another program and used this command: " ^.*,XX.*\R " (XX indicates that searching word). But this does not work with TextCrawler ...