Linking/Copying Text With Tags From Different Files in a New File

What I’m trying to do

Hello, I need your Help.

Is it possible to grab Text from one file and and link/paste this text in another file. What I am trying to do is the following: I Import my notes into Obsidian and each note gets one or a few tags. Then I would like to grab the text above each tag and display it in a new file so all text with tag “A” is in file “A” and all text with Tag “B” is in a file “B” and so on. Somehing to mention is that I have multiple different files with my notes (Papers and Books).

Is there alread a solution to my problem, or do you have any ideas?

Things I have tried

I tried to google this problem and read parts of the obsidian help.

you can look up similar threads with similar requirements, like this one:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.