<?php $pattern = '/^\d$/'; $subject=10231234; echo preg_match($pattern, $subject);
You have javascript disabled. You will not be able to edit any code.