php regex to extract data from HTML table

前端 未结 5 2083
春和景丽
春和景丽 2020-12-30 18:07

I\'m trying to make a regex for taking some data out of a table.

the code i\'ve got now is:

quote1
5条回答
  •  遥遥无期
    2020-12-30 19:01

    Tim's regex probably works, but you may want to consider using the DOM functionality of PHP instead of regex, as it may be more reliable in dealing with minor changes in the markup.

    See the loadHTML method

提交回复
热议问题