Regex with div classes

后端 未结 1 1473
甜味超标
甜味超标 2021-01-27 16:17

I am using regex to extract content between different classes of tags, however I got the output: No matches thus help is required. I do understand that xpath or DOM Document wou

1条回答
  •  一个人的身影
    2021-01-27 17:00

    preg_match_all("/
    (.*)<\/td><\/div>/", $input, $output);

    http://www.phpliveregex.com/p/fDE

    0 讨论(0)
提交回复
热议问题