<?php $string = "blah 2014 yar"; $pos = strpos($string, "20"); $year = substr($string, $pos, ($pos+4)); echo $year; ?>
You have javascript disabled. You will not be able to edit any code.