Hello everybody,
maybe am using it wrong but am really stuck with this problem.
I need to extract some data from a very long Col ( ING bank csv = drama ).
So i used Regex in Extract node, everything is ok except when i want to keep the first occurence only aka Lazy quantifying. Like that:
before(.*?)after
It returns nothing. Even when using /U
It works like a charm on any other regex interpret like this one.
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET.
Anyone as an idea or solution ?
Thanks !
Admin
January 19, 2023, 2:47pm
2
I’m not an expert on regular expressions. But it looks like the implementation of regular expressions we use (Qt 5) doesn’t support individual lazy qualifiers:
But perhaps you can do something like this:
Then use further transforms to get it in the form you want.
1 Like
Admin
January 19, 2023, 3:16pm
3
A more recent implementation of Qt does seem to handle lazy qualifiers. So it might be something we can add in future.
Thanks a lot for your answer. I’ll find my way with lots of transform. Can’t wait for update !
1 Like