Regex for allowing only alphanumeric characters

6 years 1 month ago #1 by Parag

I just now purchased and installed the Reg Val Pro plugin. I want to allow only alphanumeric characters (small letters only) in username, password and email fields. Please share the regex for the same.

6 years 1 month ago #2 by Function90
Hello Parag,

For username and password field you can use : ^[a-z0-9]+$
and for email : ^[[email protected]]+$

Please let me know if it works for you.

Thank you
Team Function90
You can share your views regarding our extension at JED ( )

Hire Professional Joomla Developers. ( )
The following user(s) said Thank You: Parag
6 years 1 month ago #3 by Parag
Thanks. Its working as intended.

Can you please tell me the regex to DISALLOW email addresses like "" and ""?
Powered by Kunena Forum
Cron Job Starts