<?php preg_match_all( '/(EX[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]))(*)/', 'EX201705031321231', $matches, PREG_PATTERN_ORDER ); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.