Answer the question
In order to leave comments, you need to log in
Wrong encoding or wrong regular expression? How to fix?
I get the data using the GET method
$request = Yii::$app->request;
$message = $request->get('message');
$code = preg_replace ("/[^0-9\s]/","",$message);
$triger = preg_replace ("/[^a-zA-ZА-Яа-я\s]/","",$message);
click
STOP KITCHEN
MK 1938
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question