PunctuationCharacter

PunctuationCharacter

represents a punctuation character in StringExpression.

Details

  • PunctuationCharacter is taken to match any Unicode punctuation character, not including whitespace characters.

Examples

open allclose all

Basic Examples  (4)

Match a punctuation character:

Test whether a string contains only punctuation:

Extract punctuation characters from a string:

Remove punctuation characters:

Applications  (1)

Punctuation characters in ASCII:

Punctuation characters in Unicode:

Properties & Relations  (1)

PunctuationCharacter does not match whitespace:

Use WhitespaceCharacter to match whitespace:

Introduced in 2015
 (10.3)