Regex match per point with exceptions

1

I have the following regex:

(?! ).*?[|.!?:;\b\t\n](?![|.!?:;\b\t\n]|(\.\d))(?<!\bDr\.|\bINC\.|\binc\.|\bInc\.|\bNO\.|\bNo\.|\bno\.|\bN\.|\bn\.|\bReg\|\breg\.|\bREG\.|\bCo\.|\bDra\.|\bSrs\.|\bSr\.|\bSra\.|\bSra\.|\bFl\.|S\.|A\.|\bSras\.|\&|\&amp;\d\.)

In the sentence: "I have 190,000 points, my email is [email protected]. Thank you very much."

It turns an array as follows:

Tenho 190.
000 pontos, meu e-mail é lorem.
ispum@dolor.
com.
br.
Muito obrigado.

When actually I need to escape the point between 2 letters and numbers.

What I hope is:

Tenho 190.000 pontos, meu e-mail é [email protected].
Muito Obrigado.
    
asked by anonymous 28.08.2018 / 03:08

0 answers