This is a migrated thread and some comments may be shown as answers.

What is the regular expression used in Kendo's email validation?

2 Answers 827 Views
Validation
This is a migrated thread and some comments may be shown as answers.
Matthias
Top achievements
Rank 1
Matthias asked on 08 May 2014, 02:47 PM
I want to be sure that I'm validating with the same criteria on the server as I do on the client (using Kendo UI). But I can't seem to find the regular expression used under the covers. Anyone know where I might find it?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 09 May 2014, 01:05 PM
Hello Matthias,

Two weeks ago Kendo UI became an open source product, so you can freely check the source code behind the controls, for example the validator (and the Regex you are looking for) can be found here:

https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.validator.js

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Matthias
Top achievements
Rank 1
answered on 12 May 2014, 01:16 PM
Thank you!
Tags
Validation
Asked by
Matthias
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Matthias
Top achievements
Rank 1
Share this question
or