guillaume.marquilly-tv5monde
-
11/20/2013 9:31:28 PM
RE:Username containing 'space'
Hello again!
So I tried to customize the regular expression inside the username and email fields as adviced, but I always got an error during the validation: "The entered values cannot be saved. Please see the fields below for details."
I tried the following regex:
username: - ^[a-z0-9_-]{3,16}$ -/^[a-z0-9_-]{3,16}$/
email: - ^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$ - /^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/
Source: http://net.tutsplus.com/tutorials/other/8-regular-expressions-you-should-know/
Did someone encounter the same issue?
Thank you !
|