2009年9月22日 星期二

regular expression

+: {1, }
*: {0, }
?: { 0, 1}
^: beginning of input
$: end of input
\w: any alphanumerical character including _
\W: any non-word character
\d: any digit
\D: any non-digit
\s: any whitespace
\S: anything but whitespace

沒有留言:

張貼留言