Page 1 of 1

Duplicate Line, Pass Line To Variable

Posted: Tue Apr 24, 2018 7:26 pm
by CEBEP
Dears hi,

I have faced the necessity to perform the following conversion in TextPipe:
some text here
some text here
some text here
some text here

Transform To:

some-text">Some Text Here
some-text">Some Text Here
some-text">Some Text Here
some-text">Some Text Here

Could you please give me direction where to search.
I have tried perl matching with passing to variable, but fail to perform.

Much appreciate your assistance.

Re: Duplicate Line, Pass Line To Variable

Posted: Wed Apr 25, 2018 8:08 am
by DataMystic Support
Why don't you search for
some text here
and replace with:
some-text">Some Text Here

I assume your use case is more complicated than this, so please provide additional details.