Question

2
Replies
1498
Views
Close popover
Remya Peethambaran (RemyaPeethambaran)
Cognizant Technology Solutions

Cognizant Technology Solutions
US
RemyaPeethambaran Member since 2011 5 posts
Cognizant Technology Solutions
Posted: May 20, 2019
Last activity: June 18, 2019
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,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.