foo.* # Matches any string starting with foo \d* # Match any number decimal digits [a-zA-Z]+ # Match a sequence of one or more letters