Page 1 of 1

Removing lines with random numbers punctuaton and symbols

Posted: Tue Sep 23, 2008 10:58 am
by tahoar
This is either very easy or very hard, but the solution escapes me right now. I have some lines in a text file with only numbers, punctuaton and symbols, such as this.

= .(.()*3); = (''); ( = 1)( /.("", "//72890/72890.", 60, 90, 728,","); .("", "//72890/__.", 60, 90, 728,":/../.","); .("", "//72890/__123.", 60, 90, 728,","); ) ( = 2)( .("", "//72890/__123.", 60, 90, 728,","); /.("", "//72890/72890.", 60, 90, 728,","); .("", "//72890/__.", 60, 90, 728,":/../.","); )( .("", "//72890/__.", 60, 90, 728,":/../.","); .("", "//72890/__123.", 60, 90, 728,","); /.("", "//72890/72890.", 60, 90, 728,","); ) .(); .(); ->

I want to remove these lines without affecting the numbers, punctuation and symbols on lines with alphabetic characters.

Thanks,
Tom

Re: Removing lines with random numbers punctuaton and symbols

Posted: Wed Sep 24, 2008 8:14 am
by DataMystic Support
Use an Remove lines matching EasyPattern like this:

Code: Select all

[1 or more digits or whitespace or <(),/._;> ]
You'll need to check that you have every punctutation characters specified inside the <>

Re: Removing lines with random numbers punctuaton and symbols

Posted: Wed Sep 24, 2008 3:12 pm
by tahoar
Thank you!