Hi,
I want to replace every 5th occurrence of . to a new line, I tried using Replace text with regex using the below regex.

Text string is
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.
Regex
([^.]*.){5}
replace with
$0\n
Getting the result
$0\n In order to build in some whitespace for epic textblocks.
while it works fine here.
https://regex101.com/r/I5IMMa/1/
plz anyone can help