DansTonCode.net
quote.smartness() == 42Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.@author Martin Golding
Quote #124
php
@
author 
katala68
0
$string = preg_replace(&#39;/.*([0-9\s<>\\b]*(\–.|\-.)[\s<>b0-9]*)|(class=\&#39;b\&#39;>[0-9]*<\/span>)*/&#39;, &#39;&#39;, $string); 
$string = preg_replace(&#39;/[^0-9]/&#39;, &#39;&#39;, $string);
Code source n°124
Code-source en php proposé par katala68
 
 0