$myString = 'Hello Learn Tech Tips (Zidane)?'; if (strpos($myString, 'Zidane') !== false) { echo "This string contains Zidane"; }