Regex for Japanese Sentences

What I’ve come up for splitting Japanese into sentences are the following;

[^!?。]*[!?。]

There is also the other variant I stumbled across

.{1,}?([。.」??!!]+|\n)

See the link of where I found this source of above code here. https://regex101.com/r/VoE2Po/1

Leave a comment

Your email address will not be published. Required fields are marked *