-
digit
→ const Regs
-
const Regs(r'^\d+(.\d{1,2})?$')
-
numeric
→ const Regs
-
const Regs(r'^-?[0-9]+$')
-
letter
→ const Regs
-
const Regs(r'^[a-z A-Z]+$')
-
email
→ const Regs
-
const Regs(r"^[a-zA-Z0-9.a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]+@[a-zA-Z0-9]+\.[a-zA-Z]+")
-
username
→ const Regs
-
const Regs(r"^[a-zA-Z0-9_]{3,16}$")
-
usernameWithDot
→ const Regs
-
const Regs(r"^[a-zA-Z0-9_.]{3,16}$")
-
phone
→ const Regs
-
const Regs(r'^[+]*[(]{0,1}[0-9]{1,4}+$')
-
phone2
→ const Regs
-
const Regs(r'^(?:[+0][1-9])?[0-9]{10,12}$')
-
phone3
→ const Regs
-
const Regs(r'^\+?[0-9]{7,15}$')
-
url
→ const Regs
-
const Regs(r'(http|https)://[\w-]+(\.[\w-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?')
-
path
→ const Regs
-
const Regs(r"^[a-zA-Z_]\w*(/[a-zA-Z_]\w*)*$")
-
path2
→ const Regs
-
const Regs(r"^[a-zA-Z0-9_]+(?:/[a-zA-Z0-9_]+)*$")
-
path3
→ const Regs
-
const Regs(r"^[a-zA-Z_][a-zA-Z0-9_]*(/[a-zA-Z_][a-zA-Z0-9_]*)*$")