Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
r"
(?<!\w\.\w.)(?<![A-Z][a-z]\.)(?<![A-Z]\.)(?<=\.|\?|\!)\s
"
gm
Input 1
1
New
A. The following regex is suppose to act as a sentence tokenizer pattern, but I'm having some trouble deciphering what exactly it's doing. C.3. I understand that it's using positive and negative lookbehinds, as the accepted answer of this post explains. But what is considered A in the above regex? Dr. Bob would know! But Mrs. Scholls doesn't.
Substitution