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