I have a string such as: 3R3002 - Oneri finanziari su derivati - COLLAR I use the SrtingSearcher tranformer to find all after the first dash (Oneri finanziari su derivati - COLLAR) with the regular expression: -[\\s\\S]*$ but I receive an error: couldn't compile regular expression pattern: invalid escape \\ sequence
Page 1 / 1
I was not able to reproduce the error with FME 2018.0. What version of FME are you using?
I was not able to reproduce the error with FME 2018.0. What version of FME are you using?
I was not able to reproduce the error with FME 2018.0. What version of FME are you using?
-[\s\S]*$
It worked even with FME 2017.1.2.1 in my environment.
-[\s\S]*$
You can also try this regex (using a positive look-behind), the result will be output as _first_match:
(?<= - ).*
You can also try this regex (using a positive look-behind), the result will be output as _first_match:
(?<= - ).*
You can also try this regex (using a positive look-behind), the result will be output as _first_match:
(?<= - ).*