Regular expression classic

xiaoxiao2021-03-06  21

Regular expression classic

"^ / 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] * [1-9] *) | ([0-9] * [1-9] [0-9] * /. [0-9] ) | ([0-9] * [1 -9] [0-9] *)) $ "正 正 floating point number" ^ ((- / D (/ d )?) | (0 (/. 0 )?)) $ "// Non-positively floating point (12 0) "^ ((([([0-9] /. [0-9] * [1-9] [0-9] *) | ([0-9] * [1-9] [0-9] * /. [0-9] ) | ([0-9] * [1-9] [0-9] *))) $ "// loaded point number "^ (-? / d )? $" // floating point number "^ [A-ZA-Z] $" // String consisting of 26 English letters "^ [AZ] $ "// String consisting of 26 English letters" ^ [AZ] $ "// String of 26 English letters," ^ [A-ZA-Z0-9] $ " // String "^ / W $" // consisting of numbers, 26 English letters or underscores "^ [/ w -] (/ w-] ) * @ [/ w -] (/. [/ w -] ) $ "// email address" ^ [A-ZA-Z] : // (/ w (- / w ) *) (/.(/w (-/w ) *) * (/?/s*)? "

Check the color value, correct # six six six six Matters such as: # 3eef4a