Need Domain /^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}$/i
username 6-8 Digit lowercase with number
password
How to Ask
{
"Domain":{
"valid":{
"rule":["matches", "/^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}$/i"],
"negate":true,
"message":"Domain must not be empty."
}
},
"username":{
"valid":{
"rule":["matches", "/^[a-z0-9\\$\\%\\^]{6,8}$/i"],
"message":"Please enter a username using alphanumeric characters between 6 and 8 characters in length. You may also include number characters like 123."
}
}"password":{
"valid":{
"rule":["matches", "/^[a-z0-9\\$\\%\\^]{8,20}$/i"],
"message":"Please enter a password using alphanumeric characters between 8 and 20 characters in length. You may also include special characters like '$%^'."
}
}
}
Question
domaingood
https://docs.blesta.com/display/user/Universal+Module
Using the Universal Module For Shared Hosting
Need Domain /^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}$/i
username 6-8 Digit lowercase with number
password
How to Ask
{ "Domain":{ "valid":{ "rule":["matches", "/^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]\.[a-zA-Z]{2,}$/i"], "negate":true, "message":"Domain must not be empty." } }, "username":{ "valid":{ "rule":["matches", "/^[a-z0-9\\$\\%\\^]{6,8}$/i"], "message":"Please enter a username using alphanumeric characters between 6 and 8 characters in length. You may also include number characters like 123." } }"password":{ "valid":{ "rule":["matches", "/^[a-z0-9\\$\\%\\^]{8,20}$/i"], "message":"Please enter a password using alphanumeric characters between 8 and 20 characters in length. You may also include special characters like '$%^'." } } }
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.