Question

3
Replies
2742
Views
PSANGEETHA Member since 2012 5 posts
Tcs
Posted: August 14, 2017
Last activity: September 6, 2017
Closed

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***

Case Management Data Integration
Moderation Team has archived post
Share this page LinkedIn