<?php $pattern = '/.*[A-Z]+.*?/'; $string = 'aaadfa'; $res = preg_match ( $pattern, $string, $result ); var_dump( $res, $result );
You have javascript disabled. You will not be able to edit any code.