Wie, wenn Charaktor im Text in Laravel existiert
$str_contains = $request->birthDay;
if(str_contains($request->birthDay , '-')){
return 'this text contains "-" charactors';
}elseif(str_contains($request->birthDay , '/')){
return 'this text contains "/" charactors';
}
Mohamad