Revision: 63190
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 15, 2013 19:35 by d3lity
Initial Code
function preg_match_last($regexp,$txt){
if (preg_match_all($regexp,$txt,$ar)){
return $ar[0][count($ar[0])-1];
}else return null;
}
Initial URL
Initial Description
Gets last occurence of reg-exp match
Initial Title
preg_match_last
Initial Tags
Initial Language
PHP