Regex cheat-sheet:

TokenDescription
.any single character
\dany number
\hany horizontal white-space (space, tab, etc.)
TokenDescription
?one or zero times
*any number of times (even zero - zero or more times)
+at least once (one or more times)
TokenDescription
[abc]any of the characters inside ('a' or 'b' or 'c')
[a-z]

any of the characters inside the range (a through z)

|or
()group - for example '(foo|bar)' - 'foo' or 'bar'