Jump to content

get a table from html


vicoldan

Recommended Posts

hello , I need to extract all the tables with class="tb" parameter, that's what I got so far:

 

@^<table[^>]*class="tb"[^>]*>(.*?)</table>$@  ,but it doesn't work, please help me.

 

The output should be something like this: <table ... class="tb" ... > ... </table> , where "..." stands for anything.

Link to comment
https://forums.phpfreaks.com/topic/193825-get-a-table-from-html/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.