<?php var_dump(preg_match('/^([0-9]{4}|[0-9]{6})$/', "10004"));
You have javascript disabled. You will not be able to edit any code.