/
The shorthand of character classes

The shorthand of character classes

Class

Description

\w

Characters comprising a word, as in [a-zA-Z0-9_]

\W

Characters not consisting a word, as in [^a-zA-Z0-9_]

\s

Spaces

\S

Characters excluding spaces

\d

Numbers, as in [0-9]

\D

Characters excluding numbers, as in [^0-9]

Related content

The shorthand of character classes
The shorthand of character classes
More like this
POSIX character classes
POSIX character classes
More like this
POSIX character classes
POSIX character classes
More like this
Alt ASCII codes by John [1]
Alt ASCII codes by John [1]
More like this
POSIX 문자 집합
POSIX 문자 집합
More like this
POSIX 문자 집합
POSIX 문자 집합
More like this