Anti spam find only letters and numbers in string - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Anti spam find only letters and numbers in string (
/showthread.php?tid=635732)
Anti spam find only letters and numbers in string -
iDark - 12.06.2017
Hello,
I want to make an anti spam that detects only letters and numbers not any other characters.
If I type "hello", when I try to type "hello.?" or other characters except letters or numbers to find it as "hello".
I need to use regex to do this or there is another way?
Thanks!