Questions tagged [replaceall]

The tag has no usage guidance.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Error escaping double quotes in large JSON string in Apex

I have large JSON response that I am trying to escape all instances of strings that are problematic for deserialization but am having some issues. Using .replaceAll works but that throws a "Regex too ...
0
votes
0answers
31 views

Regex Too Complicated when using ReplaceAll() Method in Apex…replaceAll('<!\\[CDATA\\[', '')

I am trying to use the ReplaceAll() method to replace these characters as given below in the string and add it to a htmlBody to send email to the Owners of those records in a batch class. String ...