searching

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Forrest

searching

Post by Forrest »

I have tried all I can think of. But I still think there is a way to do it.

I am looking for a line that has characters on it but the line must not have a dollar sign on it.

Like: IF, 'DIAG_TEST' EQ 6528, THEN

Last thing I tried was:
^.^\$$

The searching methods are just almost incomprehensible to me.
Any help would REALLY be appreciated.
Jeff Epstein

Re: searching

Post by Jeff Epstein »

This is what you want:

^.[^$]+$


:' )
Jeffy
http://www.jeffyjeffy.com/textpad
Ed

Re: searching

Post by Ed »

You don't want the . in the search string. so what you really want is
^[^$]+$

With the . you will not find a line that consists of a single character and you will find lines that start with a $
Post Reply