I can't figure out how to replace * * * * * * * * * *

General questions about using TextPad

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

Post Reply
scottatbhm
Posts: 12
Joined: Thu Mar 12, 2009 10:08 pm

I can't figure out how to replace * * * * * * * * * *

Post by scottatbhm »

I have a line of text that repeats on a couple of hundred lines. It starts with * * * * * * * * * * I N S U R A N C E D A T A * * * * * * * * * *
Every replace I try deletes every line in the whol;e document (wildcard). Any thoughts? Thanks, Kevin
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

It is hard for us to know what is wrong if you don't show us what you are doing.
What are you searching for?
What are you replacing with?

This should work for you
Search for: ^\* \* \* \* \* \* \* \* \* \* I N S U R A N C E D A T A \* \* \* \* \* \* \* \* \* \*
Replace with nothing

Use the following settings:
-----------------------------------------
[X] Regular expression
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Hope this was helpful.............good luck,
Bob
scottatbhm
Posts: 12
Joined: Thu Mar 12, 2009 10:08 pm

Post by scottatbhm »

Thanks Bob! This worked - ^ \* \*.*\n
I just needed to know how to handle the *. Kevin
Post Reply