Anuj Hi Joe, I modified the process per your suggestion but it only works to replace the first occurrence, There are multiple such tags which it doesn't replace. . when i used evaluation mode line by line it appended it to every line in the file and not to the one i waned too.
[image: Inline image 1] On Mon, Jun 13, 2016 at 10:40 AM, Joe Percivall <joeperciv...@yahoo.com> wrote: > Hello, > > In order to use ReplaceText[1] to solely append a value to the end of then > entire text then change the "Replacement Strategy" to "Append" and leave > "Evaluation Mode" as "Entire Text". This will take whatever is the > "Replacement Value" and append it as a literal(without interpreting > back-references) to the end of the text. > > Alternatively, if you want to append to the end of each line then change > "Evaluation Mode" to "Line-by-Line". > > [1] > https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.ReplaceText/index.html > > > Hope that helps, > Joe > - - - - - - Joseph Percivall > linkedin.com/in/Percivall > e: joeperciv...@yahoo.com > > > > On Monday, June 13, 2016 10:05 AM, Anuj Handa <anujha...@gmail.com> wrote: > > > > Hi, > > I am trying to read a file and then use replaceText to append a string so > I can spilt the line in the next step. I am nable to make the ReplaceText > work. > The flowfile is going through as success without the string being appended > or replaced > > Any thoughts what i could be doing wrong >