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
Newbie__SalesforceNewbie__Salesforce 

How to iterate over a string containing HTML body

I have to retrieve tags from HTML body by iterating my body is a search result page I want to fetch title, Description and links from it 
Davide Fabris 16Davide Fabris 16
Did you try XmlStreamReader 
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_xml_streaming_reading.htm