Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
PNRPU STUDY PROJECT CS, lab work 6
Open Workspace
PCRE2 (PHP)
Match
Created 2022-10-15 04:15
0
Regular Expression
/
(
^
|
(?<=
[
\s
,;:.!?
]
)+
)
[
A
-
Za
-
z
]
+
(
$
|
(?=
[
\s
,;:.!?
]
+
)
)
/
gm
Description
Definition of the concept of "word" in accordance with the formulation of the problem.
Submitted by
Anonymous