cooldude832 Posted December 3, 2007 Share Posted December 3, 2007 I am working on reverse engineering html and I want to take tags like <td width="250"> to <td> any ideas? Maybe regex? Link to comment https://forums.phpfreaks.com/topic/79918-taking-the-garbage-out-of-tags/ Share on other sites More sharing options...
stuffradio Posted December 3, 2007 Share Posted December 3, 2007 Maybe Preg_match()? Link to comment https://forums.phpfreaks.com/topic/79918-taking-the-garbage-out-of-tags/#findComment-404764 Share on other sites More sharing options...
cooldude832 Posted December 3, 2007 Author Share Posted December 3, 2007 well what about a ergei_replace("[<td*>]","<td>",$string); Link to comment https://forums.phpfreaks.com/topic/79918-taking-the-garbage-out-of-tags/#findComment-404765 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.