HTML Tag Parsing

前端 未结 3 2051
日久生厌
日久生厌 2020-12-05 01:02

How can I parse Name: & Value text from within the tag with DIHtmlParser? I tried doing it with TCLHtmlParser from Clever Components but it failed. Seco

3条回答
  •  粉色の甜心
    2020-12-05 01:40

    Use a HTML Parser to work on your html files.

    Maybe DIHtmlParser will do the job.

    RegEx is not a parser and converting from HTML to JSON is not a wise option.

提交回复
热议问题