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
/
([^.]*\.){4}
/
gm
Input 1
1
New
This is a test. In which I'm trying. To insert a newline character. After every 4th period. In a block of text. In order to build in some whitespace for epic textblocks.
Extraction
This is a test. In which I'm trying. To insert a newline character. After every 4th period. In a block of text. In order to build in some whitespace for epic textblocks.