Question

2
Replies
1146
Views
RemyaPeethambaran Member since 2011 4 posts
Cognizant Technology Solutions
Posted: 1 year ago
Last activity: 1 year 3 months ago
Closed
Solved

pxReplaceAllViaRegex or replaceall functions are not working with backslash

Hello

The function @String.pxReplaceAllViaRegex(.Notes,'"',"") works correct but @String.pxReplaceAllViaRegex(.Notes,'\',"") throws an error 'Source—

Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem]'
Same with @String.replaceAll(.Notes,'\'," ").
Can someone please help? My requirement is to remove backslash from the Notes. Read the article https://community1.pega.com/community/pega-product-support/question/replaceall-not-working-expected but did not do much help.
Any help would be appreciated.
Remya.
System Administration
Moderation Team has archived post
Share this page LinkedIn