Question
Coforge BPM, USA
US
Last activity: 14 Sep 2021 0:33 EDT
RUTA Script Assistance Please
I need to pick out the "3F8" from a line like "UIT CUSIP AVAILABILITY FILE TRANSMISSION has started for the client: 3F8 -". There will only be 3 digits but they could be all letters or all numbers or a combo. I have written a RUTA that works on regex101.com, but Pega does not like it. It is as follows:
[:]\s...\s[-]
When I fix all the errors Pega throws at me it looks like the following but returns nothing in the Pega test:
PACKAGE uima.ruta.example;
Document{->RETAINTYPE(SPACE)};
":" SPACE ("...") SPACE ("-"){-> MARK(EntityType,1,2,3,4,5)};
Can someone please assist me by telling me where I have gone wrong with my script. I have read both Pega and non-Pega articles and I might be mixing things, although, I cannot see it. Any assistance is much appreciated.
Thank you,
Samantha