title: How to replace text with value of attribute in Nifi ReplaceText processor?
body: <p>I  want to replace some of the content of flowfile(based on rgex which I have) with the attribute value of attribute say var1 which is 123 (shown in image). I am doing this with Replace Text Processor in Nifi but the contents are not getting replaced instead the flow file is getting dropped.</p>
  
  <p><a href="https://i.stack.imgur.com/X8Tog.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X8Tog.png" alt="image of Data Flow"></a></p>