Hi,
How can I just simply search and replace on bookmarked lines only, ignoring the rest in a text file?
Thanks
Working with bookmark lines
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Then I misjudged you for a longer time.
I found Ability to limit Find/Replace scope to bookmarked lines from 2003-10-26 - if it hasn't been implemented in ~18 years I'm somewhat pessimistic it will ever be.
I found Ability to limit Find/Replace scope to bookmarked lines from 2003-10-26 - if it hasn't been implemented in ~18 years I'm somewhat pessimistic it will ever be.
Here is the example:
þHeadersþ
þ1þ^þxxxxxxx....
þ2þ1þ^þxxxxxxx....
þxdsfdfd
kalfjadfodl
þ3þ^þxxxxxxx....
þdfdfdsfsdfds
dfasdfdsfsdfds
þ4þ^þxxxxxxx....
....
....
a DAT file with thousands of lines (records) starting from 1 to....Headers can be up to 100 fields separated by þ^þ. Each record should start with þ and a number. For some reasons, some of the field values shifted down extra lines. I want to bring them up. End result should be like this:
þHeadersþ
þ1þ^þxxxxxxx....
þ2þ1þ^þxxxxxxx....
þ3þ^þxxxxxxx....
þ4þ^þxxxxxxx....
Thank you,
þHeadersþ
þ1þ^þxxxxxxx....
þ2þ1þ^þxxxxxxx....
þxdsfdfd
kalfjadfodl
þ3þ^þxxxxxxx....
þdfdfdsfsdfds
dfasdfdsfsdfds
þ4þ^þxxxxxxx....
....
....
a DAT file with thousands of lines (records) starting from 1 to....Headers can be up to 100 fields separated by þ^þ. Each record should start with þ and a number. For some reasons, some of the field values shifted down extra lines. I want to bring them up. End result should be like this:
þHeadersþ
þ1þ^þxxxxxxx....
þ2þ1þ^þxxxxxxx....
þ3þ^þxxxxxxx....
þ4þ^þxxxxxxx....
Thank you,