Page 1 of 1

Search and replicate strings

Posted: Fri Feb 05, 2010 6:00 am
by Jenifer
This might be a very simple problem but I'm having a problem with TC regular expression, all I want is to search a string store it to $1 then replicate the same string on each target lines
For example, find a string inside quotes of line L1 (Replimoi), and replicate the same string at the beginning of each target lines L2, L3, L4, but not L5.


Entry:

L1 Authors name is ="Replimoi"
L2 wrote the book of all books
L3 painted the childrens illustration chart
L4 coded the biomechanical ultimate progy
L5 run out of books


Output after Reges "find" and "replace" function:

L1 Authors name is ="Replimoi"
L2 Replimoi wrote the book of all books
L3 Replimoi painted the childrens illustration chart
L4 Replimoi coded the biomechanical ultimate progy
L5 run out of books


Appreciate any feedback, thanks