I took this code
$row['3'] = preg_replace( "/(?<!<a href=\")((http|ftp)+(s)?:\/\/[^<>\s]+)/i", "<a href=\"\\0\">\\0</a>", $row['3'] );
and that works but I tried to change it to
$row['3'] = preg_replace( "/(?<!<table=\")((cellpadding|cellspacing|border|align)+(s)?:\/\/[^<>\s]+)/i", "", $row['3'] );
But it doesn't work