How to replace Texr Multiple Lines

I want to replace multiline texts from a specific directory or for entire vault. How can I achieve that. Is there and way to achieve that using some plugins.

Example:

I want to replace this:

TABLE L.text AS "My lists"
FROM "dailys"
FLATTEN file.lists AS L
WHERE contains(L.author, "Surname")

with this:

LIST rows.c
WHERE typeof(contacts) = "array" AND contains(contacts, [[Mr. L]])
SORT length(contacts)
FLATTEN contacts as c
SORT link(c).age ASC

On Directory test recrusively.

I know that this is not a linux forum but if you know a way to use the terminal and achieve this. It will also help.

And also note: I am a Mobile User, I use Termux as a CLI.

Thanks.

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