RobertP Posted June 15, 2012 Share Posted June 15, 2012 <table> <tr class="even_tr"> <td> 2012-06-15 </td> <td>git.gludoe.com</td> <td>963.00KB</td> </tr> </table> preg_match_all("/\<td\>(.*)\<\/td\>/",strip_tags($data,'<td>'),$matches); i remove all the html tags except td because some td's have <b> in them. Quote Link to comment Share on other sites More sharing options...
RobertP Posted June 15, 2012 Author Share Posted June 15, 2012 got it !! preg_match_all('/[<]td[>]([^<]*)[<][\/]td/i',strip_tags($data,'<td>'),$matches,PREG_PATTERN_ORDER); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.