Re: Expression language to handle a capture group

2022-10-04 Thread James McMahon
I continue to dig in an effort to try and get this to work. Found this, which made me hopeful: https://stackoverflow.com/questions/62512560/how-to-use-regex-capturing-group-variable-in-nifi-expression-language Essentially it says to wrap single quotes around the capture group reference, which

Re: Expression language to handle a capture group

2022-10-04 Thread Clinton Boyda
I have a list of expression language tools: https://regexr.com/ with PCRE mode https://www.debuggex.com/ https://extendsclass.com/regex-tester.html but would love to know if there is a tool where a

Re: Thank You community

2022-10-04 Thread Joe Witt
Carlos Thanks for taking the time to write a nice email like this and glad you found nifi valuable. Best wishes. Joe On Tue, Oct 4, 2022 at 2:39 AM Dobbernack, Harald (Key-Work) wrote: > > | Perhaps I will explain this better in a medium Post. > > oh please do! Am looking forward to reading

Expression language to handle a capture group

2022-10-04 Thread James McMahon
I have an incoming filename that includes the pattern prefix20221004035958postfix. I need to convert that yMdHms to seconds since the epic within that filename. This is the expression I attempt to use, but it seems to choke on the capture group reference: filename

AW: Thank You community

2022-10-04 Thread Dobbernack, Harald (Key-Work)
| Perhaps I will explain this better in a medium Post. oh please do! Am looking forward to reading about your adapting flow solution! But also enjoy your free time! Von: Carlos Manuel Fernandes (DSI) Gesendet: Freitag, 30. September 2022 17:11 An: users@nifi.apache.org Betreff: Thank You

Re: Is result milliseconds since epoch?

2022-10-04 Thread Josef.Zahner1
Yepp I would say it comes with milliseconds, but if you need it you can convert afterwards to seconds like in my example “${myDate:toDate("-MM-dd HH:mm:ss","UTC"):toNumber():divide(1000)}” Cheers From: James McMahon Reply to: "users@nifi.apache.org" Date: Monday, 3 October 2022 at 22:30