I would like to divide a text into sentences based on a delimiter in python. However, I do not want to split them based on decimal points between numbers, or comma between numbers. How do we ignore them.
For example, I have a text like below.
I am xyz.I have 44.44$. I would like, to give 44,44 cents to my friend.
The sentences has to be
I am xyz
I have 44.44$
I would like
to give 44,44 cents to my friend
Could you please help me with the regular expression. I am sorry if this question has already been asked before. I could not find it.
Thank you