({{, (RefLink[NumberString, paclet:ref/NumberString]) 
represents the characters of a number in (RefLink[StringExpression, paclet:ref/StringExpression]).}})

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Matches integers or decimal representations:

StringMatchQ["1234",NumberString]

StringMatchQ["1.234",NumberString]

OpenersExampleSection2(Spacer1)Properties & Relations  (1)

(RefLink[NumberString, paclet:ref/NumberString]) is not a sequence of (RefLink[DigitCharacter, paclet:ref/DigitCharacter]):

StringMatchQ["1.23",NumberString]

StringMatchQ["1.23",DigitCharacter..]

OpenersExampleSection3(Spacer1)Possible Issues  (1)

Several Wolfram Language number representations are not (RefLink[NumberString, paclet:ref/NumberString]) patterns:

StringMatchQ["1*^2",NumberString]

StringMatchQ["1.2`20",NumberString]

{1*^2,1.2`20}

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[DigitCharacter, paclet:ref/DigitCharacter])  ▪  (RefLink[StringExpression, paclet:ref/StringExpression])  ▪  (RefLink[NumberQ, paclet:ref/NumberQ])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[String Patterns, paclet:tutorial/StringPatterns])}, {▪(RefLinkPlain[Working with String Patterns, paclet:tutorial/WorkingWithStringPatternsOverview])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[String Patterns, paclet:guide/StringPatterns])}, {▪(RefLinkPlain[String Manipulation, paclet:guide/StringManipulation])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-EIWL.png(Spacer1)An Elementary Introduction to the Wolfram Language, https://www.wolfram.com/language/elementary-introduction/42-string-patterns-and-templates.html])(WebLink[: String Patterns and Templates , https://www.wolfram.com/language/elementary-introduction/42-string-patterns-and-templates.html])}})}})