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:

Wolfram Research (2015), PunctuationCharacter, Wolfram Language function, https://reference.wolfram.com/language/ref/PunctuationCharacter.html.

Text

Wolfram Research (2015), PunctuationCharacter, Wolfram Language function, https://reference.wolfram.com/language/ref/PunctuationCharacter.html.

CMS

Wolfram Language. 2015. "PunctuationCharacter." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PunctuationCharacter.html.

APA

Wolfram Language. (2015). PunctuationCharacter. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PunctuationCharacter.html

BibTeX

@misc{reference.wolfram_2024_punctuationcharacter, author="Wolfram Research", title="{PunctuationCharacter}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/PunctuationCharacter.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_punctuationcharacter, organization={Wolfram Research}, title={PunctuationCharacter}, year={2015}, url={https://reference.wolfram.com/language/ref/PunctuationCharacter.html}, note=[Accessed: 21-November-2024 ]}