Find and Replace

General questions about using TextPad

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

Post Reply
lorit
Posts: 1
Joined: Tue Nov 13, 2012 6:00 pm

Find and Replace

Post by lorit »

Text currently looks like this:
COUNTY~13
COUNTY~1351
COUNTY~1352

I want to search the entire file for COUNTY~13 and replace only COUNTY~13 WITH COUNTY~9010~~~~. Currently it will replace all of the above examples instead of just the first line. What should I put in the "FIND WHAT" field?

Thanks!
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: COUNTY~13\>

[X] Regular expression
Look in TextPad's help under Reference Information | Regular Expressions,
at the boottom, in the section Expression Anchoring.
Post Reply