We are trying to parse the subject field and trying to separate the caseid field for Email ingestion. We have used Regex functionality in Pega7 which is replaced by Infer Rule and Transform Rule(Pega6).
But we were not able to achieve the same functionality as like Infer/Transform rule.
Hi KAUTUKSHET , Thanks for your quick response. I am also working along with the person who posted this question.. we have tried various verisons of the above mentioned regex ( by providing [0-9] ,/(/d) for numbers ) .
Actually we could match our exact condition using a regex expression as this" (I-)[\d](\d+) " in a normal java regex tester and achieve our result.
Subject : Test testtesttestI-XXYXY testtest ( where XY represents digits)
we need to replace the entire sentence with this pattern "I-" plus the digits that comes after it. So in our above case the solution will be
I am unable to achieve this above result in Pega 7 using the various regex expressions I am trying with. Please help
Posted: 4 years ago
Posted: 6 Sep 2017 10:29 EDT
Prasanth Kumar Kolluru (prasanthkumar)
Technical Solutions Engineer