[!?.]+(?=$|\s)
Try this.You can add markers as needed.Replace by “.
See demo.
7
solved Regex to match end-of-sentence markers [closed]
[!?.]+(?=$|\s)
Try this.You can add markers as needed.Replace by “.
See demo.
7
solved Regex to match end-of-sentence markers [closed]