Jnerocorp Posted April 1, 2010 Share Posted April 1, 2010 sample code <tr style="background-color: #f8ffed;"></tr> <tr> <td><a href="http://www.megaupload.com/?d=I0D42OIR" rel="nofollow" target="_blank">megaupload.com</a> - <small>AhMyGo-TaTs-1.rmvb </small></td> <td>81Mb</td> <td style="width:75px;">"/forums/members/202863.html>sKu_LL</a></td> </tr> <tr> <tr> <td><a href="http://www.megaupload.com/?d=ESSIWMVP" rel="nofollow" target="_blank">megaupload.com</a> - <small>Ah! My Goddess - Tatakau Tsubasa 01.avi </small></td> <td>160Mb</td> <td style="width:75px;">"/forums/members/61527.html>sburstall</a></td> </tr> <tr> <tr> <td><a href="http://rapidshare.com/files/146245150/AMG_TT-1.rmvb" rel="nofollow" target="_blank">rapidshare.com</a> - <small></small></td> <td>?</td> <td style="width:75px;">"/forums/members/193954.html>godjezer</a></td> </tr> <tr> <tr> <td><a href="http://depositfiles.com/files/a2xmie3fa" rel="nofollow" target="_blank">depositfiles.com</a> - <small></small></td> <td>?</td> <td style="width:75px;">"/forums/members/99185.html>BigAssBoy</a></td> </tr> <tr> I want replace all instances of <td style="width:75px;"> WHATEVER WORD </a></td> with BLANK means to omit all 3rd <td> in every row, how do i do it Link to comment https://forums.phpfreaks.com/topic/197221-preg_replace-simple-please-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.