preg_replace('~style=("|')(.*?)("|')~i','',$string);
preg_replace('~style=(\"|\')(.*?)(\"|\')~i','',$string);