\s matches any white space character. \r matches a carriage return. \n matches a line feed (Unix line ending). \r\n matches a carriage return-line feed pair (Windows line ending). \r\n? matches a Unix or Windows line ending.
But you said you wanted to ignore a newline. What exactly do you mean?