function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdc@isha.ax1814sfdc@isha.ax1814 

Remove Html tags from text area

Hi Team,

I have below rich text area and long texta rea fields. We migrated data from one sandbox to another sandbox. After migrtaion We can see data mixed with html tags. I want to remove these html tags. Can you please help me how to solve this issue.

Summary of local treating provide treatment plan
summary of AH provider treatment plan

Regards,
Isha
ShirishaShirisha (Salesforce Developers) 
Hi,

Greetings!

You would need to use replace method to remove the tags as mentioned here.

https://developer.salesforce.com/forums/?id=906F00000008sYaIAI

https://developer.salesforce.com/forums/?id=906F000000098FiIAI

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri
sfdc@isha.ax1814sfdc@isha.ax1814
HI Shirisha,

Can you please help me how to use replae all for my below field. Can you provide me the solution clearly?

summary_of_AH provider_treatment_plan__c


Regards,
Isha