I\'m using the RE expression in python and trying to split a chunk of text by period and by exclamation mark. However when I split it, I get a \"None\" in the result
Here's a simpler expression (any period not followed or preceeded by a period) with the outer capturing group around the whole or | clause to avoid the None, not just the first part: