Skip to main content

StringMatchQ

StringMatchQ["string",patt] tests whether "string" matches the string pattern patt. 

StringMatchQ["string",RegularExpression["regex"]] tests whether "string" matches the specified regular expression.

StringMatchQ["string",{patt1,patt2,…}] test whether "string" matches any of the patti.

StringMatchQ[{string1,string2,…},patt] gives the list of the results for each of the "stringi".

StringMatchQ[patt] represents an operator form of StringMatchQ that can be applied to an expression.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.