js正則文字
2813 ワード
Title
/*
* :
* ( , )
* . :
, , ,
*
* [] :
* :[0-9] :0 9 ( )
* [0-9]
* [a-z]
*
* [A-Z]
*
*
* [a-zA-Z]
*
* [9] 9
* [o]o
*
* [0-9a-zA-Z]
*
* [0-9] 78
*
*
*
*
*
* .
* []
* [0-9]0-9
* [a-z]a-z
* [A-Z]A-Z
* [0-9a-zA-Z]
*
* [3-7] 3-7
*
* () ( ),
*
* |
* [0-9]|[a-z] 0-9
*
*
* * 0 ( )
* : .*
*
* + 1 ( )
* ? 0 1 ( )
*
*
*
*
*
*
*
*
*
*
*
*
* {}
*
*
*
*
*
* .
* []
* * 0
* + 1
* ? 0
* ()
* |
*
* {} , :
*
* [0-9]{0,} 0
* [0-9]{0,1} 0 1
* [0-9]{1,} 1
* [a-z]{4} 4
* [a-z]{5,10} 5 10
*
*
*
*
* \d [0-9]
* \D
*
* \s
* \S
*
* \w
* \W
*
*
*
*
* ^:1. ,
* 2.
* :
* ^[0-9]
* ^[a-z0-9]
* ^[0-9a-zA-Z]
* ^\d
*
* [^0-9]
* [^0-9a-zA-Z]
*
* $ :
* [0-9]$ "hsgd7y273d9"
* [a-zA-Z]$
*
* ^[0-9a-z][a-z]$
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* */