<?php preg_match( '#^AH\d{6}$#', AH587910); echo $matches[1]; // 1234
You have javascript disabled. You will not be able to edit any code.