Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
LexicalCases
Guides
LexicalCases
Tech Notes
LexicalCases Overview
Symbols
BoundToken
CountSummaryLowercase
ExpandPattern
LexicalCases
LexicalDispersionPlot
LexicalPattern
LexicalStructure
LexicalSummary
OptionalToken
Sandwich
TextType
ToLexicalPattern
WordToken
$LexicalCasesServices
FaizonZaman`LexicalCases`
E
x
p
a
n
d
P
a
t
t
e
r
n
E
x
p
a
n
d
P
a
t
t
e
r
n
[
s
o
u
r
c
e
,
l
p
]
E
x
p
a
n
d
s
l
e
x
i
c
a
l
p
a
t
t
e
r
n
l
p
i
n
t
o
a
v
a
l
i
d
S
t
r
i
n
g
E
x
p
r
e
s
s
i
o
n
w
i
t
h
t
e
x
t
f
r
o
m
s
o
u
r
c
e
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
1
)
Basic Examples
(
1
)
Expand a lexical pattern using the string
"
t
h
i
s
i
s
t
h
e
b
e
s
t
m
u
s
i
c
e
v
e
r
"
.
I
n
[
1
]
:
=
N
e
e
d
s
[
"
L
e
x
i
c
a
l
C
a
s
e
s
`
"
]
I
n
[
2
]
:
=
E
x
p
a
n
d
P
a
t
t
e
r
n
"
t
h
i
s
i
s
t
h
e
b
e
s
t
m
u
s
i
c
e
v
e
r
.
"
,
T
e
x
t
T
y
p
e
[
"
A
d
j
e
c
t
i
v
e
"
]
~
~
"
m
u
s
i
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