Pages

Friday, December 2, 2011

Regular expression

[a-z] -> match any string
[a-z]+ -> strict match any string
^[a-z] -> srating  match any string
^[a-z]+ -> srating strict  match any string
^[a-z]? -> may be  match any string
a$  - end with a
^   - start
?
+
*   - all chars
.   - any single mchars
(join|update)

[^0-9] - not match 0 to 9
/d
/s
/S
::digits::


a$

No comments:

Post a Comment