nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Puspak <puspakdas....@gmail.com>
Subject Need Help on Nifi replace text with regex
Date Tue, 25 Jun 2019 11:37:07 GMT
Hi Team ,

I am relatively new to Nifi regex .

i have a requirement like i have a flow file content as below .

XXXXXXXX<FLIGHT-IN>
                <FLIGHT>KH228</FLIGHT>
                <DATE>20JUN19</DATE>
		</FLIGHT-IN>YYYYYYYYY

And the expected out put is 
<FLIGHT-IN>
          <FLIGHT>KH228</FLIGHT>
          <DATE>20JUN19</DATE>
</FLIGHT-IN>

i know we can achieve the same  with replace text and nifi expression
language but not sure how .

Quick help is highly appriciated. 



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Mime
View raw message