- Posts: 14
- Thank you received: 0
Email verification on registration
- Kenneth Kjær Nielsen
- Topic Author
- Offline
- New Member
-
Less
More
12 years 16 hours ago #41174
by Kenneth Kjær Nielsen
Email verification on registration was created by Kenneth Kjær Nielsen
Hey 
Where do i find the regexp for email verification when some one signs up for a event? Iam from Denmark, and i need the email form to accept characters, like: æøå@æåø.com :S
I hope some one can help me!
Where do i find the regexp for email verification when some one signs up for a event? Iam from Denmark, and i need the email form to accept characters, like: æøå@æåø.com :S
I hope some one can help me!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 9 hours ago #41181
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Email verification on registration
Hi
To be honest, I don't have much experience with regular expression, so I could not give you the solution in this case. I can only tell you the location of the file and what regex is using at the moment :
1. File location : components/com_eventbooking/views/register/tmpl/default.php
2. var emailFilter = /^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
So please try to find the correct regular expression and try to solve it.
Regards,
Tuan
To be honest, I don't have much experience with regular expression, so I could not give you the solution in this case. I can only tell you the location of the file and what regex is using at the moment :
1. File location : components/com_eventbooking/views/register/tmpl/default.php
2. var emailFilter = /^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i
So please try to find the correct regular expression and try to solve it.
Regards,
Tuan
The following user(s) said Thank You: Kenneth Kjær Nielsen
Please Log in or Create an account to join the conversation.
- Kenneth Kjær Nielsen
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
12 years 4 hours ago #41205
by Kenneth Kjær Nielsen
Replied by Kenneth Kjær Nielsen on topic Re: Email verification on registration
Hey! 
Thank you, again! :woohoo:
In standard Joomla the regexp for email verification is located at libaries/joomla/form/rules/mail.php, so i thought it was the same path.
Thank you, again! :woohoo:
In standard Joomla the regexp for email verification is located at libaries/joomla/form/rules/mail.php, so i thought it was the same path.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 11 months ago #41260
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Email verification on registration
OK, great ! Good luck and if you find the regex which works for you, please share it here so that in case someone needs it, they can use it.
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Kenneth Kjær Nielsen
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
11 years 11 months ago #41270
by Kenneth Kjær Nielsen
Replied by Kenneth Kjær Nielsen on topic Re: Email verification on registration
Here you go:
Code:
'^[ÆØÅæøåA-Za-z0-9._%+-]+@(?:[ÆØÅæøåA-Za-z0-9-]+\.)+[A-Za-z]{2,6}$';
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
11 years 11 months ago #41307
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Email verification on registration
Great. Thanks for sharing
.
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.