PDA

View Full Version : Anti spam find only letters and numbers in string


iDark
12/06/2017, 06:20 PM
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!