I'm trying to split this text:
"Hi stackoverflow.I need to split these sentences.By full stop."
into something like this:
["Hi stackoverflow.", "I need to split these sentences.", "By full stop."]
I've tried the following:
import regex as re
text = "Hi stackoverflow.I need to split these sentences.By full stop."
re.findall(".*?\.[a-zA-Z0-9].*?", text)
but it returns:
['Hi stackoverflow.I', ' need to split these sentences.B']