StringMatchQ
StringMatchQ(string, regex-pattern)
check if the regular expression
regex-pattern
matches thestring
.
See
Examples
>> StringMatchQ({"ExpandAll", "listable", "test"}, RegularExpression("li(.+?)le")){False,True,False}
>> StringMatchQ("15a94xcZ6", (DigitCharacter | LetterCharacter)..)True
Related terms
StringCases, StringContainsQ, StringCount, StringExpression, StringFreeQ, StringInsert, StringJoin, StringLength, StringPart, StringPosition, StringQ, StringReplace, StringRiffle, StringSplit, StringTake, StringToByteArray, StringTrim
Implementation status
- ✅ - full supported