<?php preg_match('/^(?=.*?[A-Z])(?=.*?[0-9])[a-zA-Z0-9]{8,}/u', '123456789', $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.