import re
regex = r"(?<!\S)(\d+\.[^.]+)\."
test_str = "1. Some Header. and some more text 2. Another Header. And that is the end"
print(re.findall(regex, test_str))
aW1wb3J0IHJlCgpyZWdleCA9IHIiKD88IVxTKShcZCtcLlteLl0rKVwuIgp0ZXN0X3N0ciA9ICIxLiBTb21lIEhlYWRlci4gYW5kIHNvbWUgbW9yZSB0ZXh0IDIuIEFub3RoZXIgSGVhZGVyLiBBbmQgdGhhdCBpcyB0aGUgZW5kIgpwcmludChyZS5maW5kYWxsKHJlZ2V4LCB0ZXN0X3N0cikp