Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\w+[.?!]+\s+(?=\p{Ll})
/
gu
Input 1
New
Howdy world? lorem // match (world? should be selected) Howdy world... lorem // match (world... should be selected) Howdy world? lorem // match What is world. howdy // match Howdy you. Lorem // no match Howdy you. 進撃の // no match
Substitution
Howdy world? lorem // match (world? should be selected) Howdy world... lorem // match (world... should be selected) Howdy world? lorem // match What is world. howdy // match Howdy you. Lorem // no match Howdy you. 進撃の // no match