Mega Code Archive
Categories
/
Php
/
Strings
Capturing HTML headings
(.+?)@is', $html, $matches); foreach ($matches[2] as $text) { print "Heading: $text \n"; } ?>