The definitive Wolfram Language and notebook experience
The original technical computing environment
All-in-one AI assistance for your Wolfram experience
We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
Courses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
Software DevelopersWe deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
Wolfram SolutionsCourses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
Software DevelopersThe Wolfram Language's symbolic string patterns provide a compact yet readable basis for sophisticated string operations. Included directly in programs, or symbolically generated on the fly, the Wolfram Language's string patterns can routinely be used on strings with millions of elements.
StringExpression — a symbolic string-pattern expression (s~~s~~s)
_ — any character
__, ___ — sequences of characters (one or more, zero or more)
p|p|p — alternatives
Shortest, Longest — shortest, longest matches
Except — matches that exclude a pattern
Whitespace ▪ NumberString ▪ DatePattern
WordCharacter ▪ DigitCharacter ▪ LetterCharacter ▪ WhitespaceCharacter ▪ PunctuationCharacter
WordBoundary ▪ StartOfLine ▪ EndOfLine ▪ StartOfString ▪ EndOfString
RegularExpression — string patterns in regular expression notation
IgnoreCase — option for whether to ignore case
Overlaps — option for how to treat substring overlaps
StringFormat — test the overall format of a string
Operations »StringMatchQ ▪ StringContainsQ ▪ StringCases ▪ StringReplace ▪ ...
Related Tech Notes Related Guides TopRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4