[ad_1]
There is a div class called “diff” on a webpage. I need to filter some html and chars from the text within this class.
Example text content
<!-- wp:block/fields {"sku":"MySKU","features":"\u003cli\u003eFeature 1\u003c/li\u003e\u003cli\u003eFeature 2\u003c/li\u003e\u003cli\u003e(Heat Resitant)\u003c/li\u003e"} /-->
I want to strip <!– wp:block/fields , { , ” , : , \u003cli\u003e
I want to make this text readable.
[ad_2]