briedis Posted May 4, 2006 Report Share Posted May 4, 2006 Ka lai nonjem tagad atribuutus, bet ne visus? ar preg_replace? Man vajadzētu nonjemt tikai style atribuutu atstaajot visu paareejo td tag'aa.. No shii: <td width="284" valign="top" style="padding-right: 5.4pt; padding-left: 5.4pt; padding-bottom: 0cm; width: 213.05pt; padding-top: 0cm; background-color: transparent; border: #d4d0c8"> Atstaat tikai: <td width="284" valign="top"> Paliidziet luudzu... regulaaras izteiksmes man veel iisti apguutas nav... Link to comment Share on other sites More sharing options...
john.brown Posted May 4, 2006 Report Share Posted May 4, 2006 $tag = preg_replace('/style=".+?"/','',$tag); Link to comment Share on other sites More sharing options...
Recommended Posts