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
Auto sentence capitalization
Open Workspace
PCRE2 (PHP)
Substitution
Created 2023-06-14 07:02
0
Regular Expression
/
(?<=
[
\.
?!
]
\s
|
^
)(
[
a
-
z
]
)
|
(
\b
i
(?=
\b
|
'
)
)
/
gm
Description
only works in implementations with \U
Submitted by
Anonymous