expression
Description
^ / d $
Match non-negative integer (positive integer 0)
^ [0-9] * [1-9] [0-9] * $
Match positive integer
^ ((- / d ) | (0 )) $
Matching non-positive integers (negative integer 0)
^ - [0-9] * [1-9] [0-9] * $
Matching negative integers
^ -? / d $
Match integer
^ / D (/./ d )? $
Match the number of non-looted points (positive floating point 0)
^ (([0-9] /. [0-9] * [1-9] [0-9] *) | ([0-9] * [1-9] [0-9] * /. [0-9] ) | ([0-9] * [1-9] [0-9] *)) $
Match positive floating point
^ (((- / D (/. D )?) | (0 (/. 0 )?)) $
Matching non-positive floating point numbers (load point 0)
^ (((((((((((([0-9] /. [0-9] * [1-9] [0-9] *) | ([0-9] * [1-9] [0-9] * / .[0-9] )| ([[0-9]*[1-9][0-9]* ))) $
Matching the load
^ (-? / d ) (/./ d )? $
Match floating point
^ [A-ZA-Z] $
Match string consisting of 26 English letters
^ [A-z] $
Match string consisting of overwrites of 26 English letters
^ [a-z] $
Match strings consisting of 26 English letters
^ [A-ZA-Z0-9] $
Match strings consisting of numbers and 26 English letters
^ / W $
Match string consisting of numbers, 26 English letters or underlined
^ [/ w -] (/. [/ w -] ) * @ [/ w -] (/. [/ w -] ) $
Match an email address
HTTP: / / (/ w (- / w ) *) (/ w (- / w ) *) * (/? / s *)?
Match URL