Find with underline character

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
ccmancio
Posts: 11
Joined: Tue Jun 05, 2007 6:54 pm

Find with underline character

Post by ccmancio »

I new find any lines with "Sub" , but not a character underline (_)

I use "* Sub *[^_]" but lines with "_" appears..
What´s happen, or where I mistake ?

And... lines begin with Sub apperas too. What ?
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Do you mean that you want to find lines containing the text “Sub�, but not the text “_�?

This will do that:
Find what: ^[^_]*Sub[^_]*$

[X] Regular expression
ccmancio
Posts: 11
Joined: Tue Jun 05, 2007 6:54 pm

It's OK

Post by ccmancio »

It´s OK , Thanks.

Thats problems was "$", without don't function with i need.

Best regards
Post Reply