Edit: To also print last two words of each sentence
import re
string1 = 'I am going to the shop. I would like some cheese! I am ready to go back home!'
split_list = re.split('[?.!]', string1)
for txt in split_list:
print(txt.split()[:2],txt.split()[-2:] )
output
['I', 'am'] ['the', 'shop']
['I', 'would'] ['some', 'cheese']
['I', 'am'] ['back', 'home']
[] []
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…