Discussion

42
Views
Swetha Nagaraju (IndiraPriya)
Wipro Technologies
Senior Software Engineer
Wipro Technologies
IN
IndiraPriya Member since 2013 3 posts
Wipro Technologies
Posted: April 22, 2021
Last activity: April 27, 2021
Posted: 22 Apr 2021 3:31 EDT
Last activity: 27 Apr 2021 17:00 EDT

Removing alphabets from alphanumeric string

Use @pxReplaceAllViaRegex(Param.DP,"[^\\d]","") function, which will return the integer value.

Eg : Param.DP = SP232323 -> 232323

***Edited by Moderator: Pooja Gadige to change category from General to Product, add Developer Knowledge Share tag***
***Edited by Moderator Marissa to update Platform Capability tags****
Pega Platform User Experience Lead System Architect Developer Knowledge Share