You need to sign in to do that
Don't have an account?
Rohit Thakur 19
Stuck in the below String. How to remove HTML tags between {{ & }} space CSS etc
Hi,
Stuck in the below String How to remove HTML tags between {{ & }} space CSS etc
Currunt String
<span>Opportunity description: {{Opportunity_d</span><span style="color:#000000;font-weight:700;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:"Arial";font-style:normal">escription }}</span></p><p style="margin-left:15pt;font-style:normal">Opportunity stagename: {{Opportunity_stagename }}</span>
Need Output String from Currunt String
<span>Opportunity description: {{Opportunity_description}}</span></p><p style="margin-left:15pt;font-style:normal">Opportunity stagename: {{Opportunity_stagename}}</span>
Stuck in the below String How to remove HTML tags between {{ & }} space CSS etc
Currunt String
<span>Opportunity description: {{Opportunity_d</span><span style="color:#000000;font-weight:700;text-decoration:none;vertical-align:baseline;font-size:11pt;font-family:"Arial";font-style:normal">escription }}</span></p><p style="margin-left:15pt;font-style:normal">Opportunity stagename: {{Opportunity_stagename }}</span>
Need Output String from Currunt String
<span>Opportunity description: {{Opportunity_description}}</span></p><p style="margin-left:15pt;font-style:normal">Opportunity stagename: {{Opportunity_stagename}}</span>
Hi Rohit,
Greetings!
Can you please try by replacing the tags by the space as mentioned in this document (http://salesforce.stackexchange.com/questions/169773/apex-regex-to-remove-the-special-character/169774#:~:text=replaceAll('%5C%5CD',digit%20from%20the%20phone%20number.&text=String%20str%20%3D%20'(667),'%2C%20'')%3B%20System.):
Kindly let me know if it helps you and close your query by marking it as best answer so that it can help others in the future.
Warm Regards,
Shirisha Pathuri