in reply to Grep a particular text

Is the text always on a single line?

How are paragraphs delimited?

Can you show the expected output?

It's not clear whether the text should be placed into the subsequent paragraphs or in the below paragraph.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^2: Grep a particular text
by ponni (Novice) on Jul 09, 2019 at 13:09 UTC
    Thanks for your reply. My expected output was in below:
    \section{Funding}
    The work was supported\qr{The Funding statement in the Acknowledgment has been moved to Funding section. Please check and confirm if the edit is fine and amend if necessary.} by the National Genetically Modified New Varieties of Major Projects of China (2016ZX08010004--004), the National Natural Science Foundation of China (Nos. 31771418, 31570261), and Key Project of Hubei Province~(2017AHB041).

    I have many sections with individual queries are present.