Character - Whitespace


White-space characters are spaces, tabs, and line breaks and are part of the non printing characters

Most known

Name Unicode Regexp Shorthand
Horizontal Tabulation HT (9) \t
Linefeed LF (10) \n
Formfeed FF (12) \f
Carriage Return CR (13) \r
Space space (32) \s


Regular Expression - Backslash Generic Character Class (shorthand):

  • \S select anything that is not a whitespace character
  • \s or [:space:] select any whitespace character

How to

Show them

Powered by ComboStrap