in reply to Grep a particular text
Dear PerlMonks
I need to extract the query information starts with "\qr{...text..} and placed in the next paragraph for all section in a document. How to achieve using perl
Here i listed some occurances:
\section{Results\qr{text ... text}}
Normal paragraph text here...
\section{Funding\qr{text ... text}}
Funding text here...
Output required
\section{Results}
Normal paragraph\qr{Results section query text ... text} text here...
\section{Funding}
Funding text \qr{Funding query text bla bla bla}here...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: String manipulation in a document
by haukex (Archbishop) on Jul 10, 2019 at 06:48 UTC | |
|
Re: String manipulation in a document
by GrandFather (Saint) on Jul 10, 2019 at 05:51 UTC | |
by ponni (Novice) on Jul 10, 2019 at 06:03 UTC | |
by GrandFather (Saint) on Jul 10, 2019 at 06:19 UTC | |
by ponni (Novice) on Jul 11, 2019 at 06:49 UTC | |
by haukex (Archbishop) on Jul 11, 2019 at 15:50 UTC |