Hello, Is there a specific reason you want to do this within Expression Language and not a Processor? You can use the ExtractTest processor and it will add attributes for the first occurrence of the pattern in the content of a FlowFile. Joe
- - - - - - Joseph Percivall linkedin.com/in/Percivall e: [email protected] On Sunday, May 22, 2016 5:56 PM, idioma <[email protected]> wrote: Hi, I am interested to understand whether in NiFi it is possible to write regular expressions that only match the first occurrence of a pattern. I do not seem to be able to make this work and wonder whether it is just something not possible at all. Here is an example of what I mean: https://regex101.com/r/nF3lE2/2 Thank you -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Apache-NiFi-expression-language-tp10610.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
