Php pregmtach pattern? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Php pregmtach pattern?

what is the pattern for pregmatch function in php to allow only letters,numbers,@,_,whitespaces

12th Jul 2018, 6:38 PM
Adarsh.n. Bidari
Adarsh.n. Bidari - avatar
1 Antwort
+ 1
try this: /[\w\s@]+/
12th Jul 2018, 6:56 PM
MO ELomari
MO ELomari - avatar