Andy, as always thank you for your reply (and apologies for delay of my response too). Just to clarify, I have come across this issue while using the processor ReplaceTextWithMapping. I shared a related post with the community:
http://apache-nifi-developer-list.39713.n7.nabble.com/Issues-with-Regex-used-with-ReplaceTextWithMapping-where-am-I-going-wrong-tc10592.html In my investigation, I also found out that ReplaceTextWithMapping does not work well with phrase sentences with space, but I am not sure if that was an already known limitation. The matching to the first occurrence is required for substituting only the first input value. To circumvent this temporary issue, what would you recommend? To run ExecuteScript after the actual substitution? In this way, it will not be particularly flexible. Thank you for your help, Ilaria -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Apache-NiFi-expression-language-tp10610p10718.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
