Question
Tcs
IN
Last activity: 6 Sep 2017 10:29 EDT
How to use Regex functionality to separate caseid from Subject Field for Email ingestion?
Hi,
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.
We have used below code
@pxReplaceAllViaRegex(Param.emailSubject,"I-[/d](/d+))","I-[/d](/d+)")
But in pega its not matching the pattern. Only I- is getting matched and digits are not getting matched.
Can someone suggest some solution please to match entire pattern for I-XXX.
***Updated by moderator: Lochan to add Categories***