- preg_match: documentation ( source)
- print_r: documentation ( source)
- strip_tags: documentation ( source)
<?php
$test = '<p class="author">
Door <a href="http://tweakers.net/gallery/450987" rel="nofollow">pinna_be</a> op donderdag 27 maart 2014 00:30 - <a href="http://pinna.tweakblogs.net/blog/10130/update-tweakblog-api-01.html#reacties">Reacties (28)</a><br>Categorie: <a href="http://pinna.tweakblogs.net/blog/cat/2629">mini projects</a>, Views: 3.975 - <a href="https://secure.tweakers.net/my.tnet/weblogs?action=editpost&postid=10130">Edit post</a>
/ <a href="https://secure.tweakers.net/my.tnet/weblogs?action=editreactions&postid=10130">reacties</a>
</p>';
$test = strip_tags($test);
$solution;
preg_match("#[a-z]*\ [0-9]*\ [a-z]*\ [0-9]*\ [0-9]*:[0-9]*#s", $test, $solution);
print_r($solution);