Other Resources:
White space character class - \s
What is abbreviation of a character class of all white space ASCII characters?
How to write a regular expression using a character class abbreviation to capture all white space characters in a text string like this: Name: Jack; Age: 25; City: Paris?
✍: FYIcenter.com
The predefined abbreviation of a character class of all ASCII white space characters is \s, which is the same as [ \t\r\n\f]. Note that:
\t - Horizontal tab (ASCII 0x09) \n - Linefeed or newline (ASCII 0x0A) \f - Form feed (ASCII 0x0C) \r - Carriage return (ASCII 0x0D)
The regular expression to capture all white space characters is:
(\s)
\s - matches any white space characters
2013-01-23, 0👍, 0💬
Popular Posts:
Are you having problems using regular expressions when processing text strings in your applications ...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
How to capture the Soso Spider entries from Web log file? Here are some Web log file entries: 127.0....
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digi...