Hello! Sit down, is it possible to create a regular expression that will exclude what is written in the template? It is necessary to find all the lines that ANY characters can have, EXCEPT English letters and numbers.
For example, preg_match("/[^az,AZ,0-9]/",$text) - will find all letters and numbers, but you need to, on the contrary, find anything except /[^az,AZ,0-9]/ Thanks in advance!
[^az,AZ,0-9]- on the contrary will not find all Latin letters and numbers. But if you remove the^symbol, then your pattern just finds only Latin letters and numbers. - Sasha Chernykh