import re
text="""SHIP TO
Flensburg House, MMDA Colony,
Arumbakkam,Chennai, Tamil Nadu,
"""
shipto=[]
shipto_re=re.compile(r"SHIP TO((?:.*\n){1,3})")
shipto += shipto_re.findall(text)
print (shipto)
To embed this project on your website, copy the following code and paste it into your website's HTML: