Replace multiple values in a string

I have this string: I want to replace the values in square brackets with a variable value: Per review of the [CHET, Expedited CHET, Expedited Referral] document in accordance to DCYF’s Medically Fragile (MF) policy, it was determined that this [infant, child] does NOT meet MF requirements. Additionally, it was determined that this [infant, child] has medical and/or behavioral health needs that may require further attention that is to be addressed through the MCO (Managed Care Organization).

How can I do that?

Hi @chauhan.rachita30

Can you share the input text and expected output text seperately and which string values should be replaced with which string value.

Regards

Use the Assign activity and assign yourWholeString = Replace(yourWholeString,“[infant, child]”,newValueVar)