Source Code:
(back to article)
<?php $html = '<p>This is a paragraph.</p>'; preg_match_all('/<p[^>]*>(.*)<\/p>/', $html, $matches); print_r($matches[1]);
Result:
Report an issue