Betrachten Sie dieses folgende Szenario:
Code: Select all
$text="Turn the next station (station n°12015).";
if (preg_match('/[£$%*}{~>|=¬]/', $text) == 1){
echo "Special char has been found";
}else{
echo "No special char found";
}
< /code>
Warum kehrt es zurück < /p>
Special char has been found
Mobile version