17 regular expressions "^ // d $" // non-negative integer (positive integer 0) "^ [0-9] * [1-9] [0-9] * $" // 正 整 整 "^ ((- // D ) | (0 )) $ "// Non-positive integer (negative integer 0)" ^ - [0-9] * [1-9] [0-9] * $ "// Negative integer "^ -? // D $" // integer "^ // D (//// D )? $" // Non-looted number (positive floating point 0) "^ (([0- 9] //. [0-9] *) | ([0-9] * [1-9] [0-9] * //. [0-9 ] ) | ([0-9] * [1-9] [0-9] *)) $ "// positive floating point number" ^ ((- // D (//// D )?) | (0 (//. 0 )?)) $ "// Non-positively floating point number (12-9] ////////////////////////////ww - 1-9] [0-9] *) | ([0-9] * [1-9] [0-9] * ///////ww [0-9] ) | ([0-9] * [1 -9] [0-9] *)) $ "/ / positive floating point number" ^ (-? // D )? $ "// floating point number" ^ [A-ZA- Z] $ "// String" ^ [AZ] $ "// by 26 English letters" ^ [AZ] $ "// by 26 English letters String "^ [A-ZA-Z0-9] $" // of English letters "^ // w $" // by numbers, 26 English Letters or underlined strings "^ [// w -] (//. [// w -] ) * @ [// w -] (//. [// w -] ) $ "// email address" ^ [a-za-z] : // (// w // w ) *) (// w // w ) *) * ( //? // s *)? $ "// URL