Код: Выделить всё
preg_match_all('/([^>]*)/si', $contents, $match );
Код: Выделить всё
Код: Выделить всё
preg_match_all('/(.*)/si', $contents, $match );
Подробнее здесь: https://stackoverflow.com/questions/372 ... -html-text
Код: Выделить всё
preg_match_all('/([^>]*)/si', $contents, $match );
Код: Выделить всё
Код: Выделить всё
preg_match_all('/(.*)/si', $contents, $match );