• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Replace only the selected short list of words by the full definition description from a Longer list

Community Beginner ,
Sep 12, 2018 Sep 12, 2018

Copy link to clipboard

Copied

Hello everybody

I've a selected short list from definitions book

And I want to add the full definitions description line to my selected definitions only

for example this is a small part from my selected text which I put them between this symbols @@@ and %%%:

@@@aedoeology%%%

@@@agriology%%%

@@@agrology%%%

@@@agronomics%%%

-------------------------------------------------------------------

and this is the big list example:

And I put at the end of each definition description this symbols ###

@@@acarology%%%

study of mites###

@@@accidence%%%

grammar book; science of inflections in grammar###

@@@aceology%%%

therapeutics###

@@@acology%%%

study of medical remedies###

@@@acoustics%%%

science of sound###

@@@adenology%%%

study of glands###

@@@aedoeology%%%

science of generative organs###

@@@aerobiology%%%

study of airborne organisms###

@@@aerodonetics%%%

science or study of gliding###

@@@aerodynamics%%%

dynamics of gases; science of movement in a flow of air or gas###

@@@aerolithology%%%

study of aerolites; meteorites###

@@@aerology%%%

study of the atmosphere###

@@@aeronautics%%%

study of navigation through air or space###

@@@aerophilately%%%

collecting of air-mail stamps###

@@@aerostatics%%%

science of air pressure; art of ballooning###

@@@agonistics%%%

art and theory of prize-fighting###

@@@agriology%%%

the comparative study of primitive peoples###

@@@agrobiology%%%

study of plant nutrition; soil yields###

@@@agrology%%%

study of agricultural soils###

@@@agronomics%%%

study of productivity of land###

--------------------------------------------------------------------------------------------------------------

NOW:

How can I copy from the long list the full definition

starting from its headword and taking the full line description until the symbols ###

for only the selected text for my short list??????

Now we have:

First grep search:

@@@.*?%%%

to be replaced by:

second grep search:

@@@.*?%%%.*?####

                                                                  --------------------------------------------------------------

Any Help I will be so thankful ....

TOPICS
Scripting

Views

173

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation