\s matches a white space character(space,tab, newline, and so on); \d matches any digit \w matches any character that may appearin atypical word. . matches any character.