Extracting blocks between tagged text

General questions about using TextPad

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

Post Reply
Manuel Croissier

Extracting blocks between tagged text

Post by Manuel Croissier »

Hi,

I have long files tagged with Ventura Publisher, I need to extract blocks of text between tagged lines. Is it possible to do that with TP 4.5.

Example:
@TAG1 = TITTLE ONE
Paragraph1
Paragraph2
@TAG2 = Tittle two

Expected:
Filename = Tittle one
Paragraph1
Paragraph2

Does anyone out there can help?
Manuel
flash

Re: Extracting blocks between tagged text

Post by flash »

Use Find to go to the first tag. Check the ExtendSelection checkbox and type in the parameters to find the second tag. Close the find dialog and copy (Ctrl-C) or Cut (ctrl-x) the selected text to the clipboard and open a new file and paste (ctrl-v) and save.
Manuel Croissier

Re: Extracting blocks between tagged text

Post by Manuel Croissier »

Hi,

Thank your for your sugestion. I'll try it immediatly.

Manuel
Manuel Croissier

Re: Extracting blocks between tagged text

Post by Manuel Croissier »

Hi Flash,

Thanks a lot for your kind advice, it really works fine. This is a valuable new feature of TP for my kind of work. However, I need to do that procedure many times from 27 long documents, and I assume that there is other way to do that in a batch processing way.

I am sorry to abuse of your kindness asking your this additional help.

By the way, I could not find any reference of the Extension Selection in the on line manual. There is any other source for documentation, besides this forum which is excellent???

Thanks,

Manuel
Post Reply