How can I parse the foll. in python to extract the year:
\'years since 1250-01-01 0:0:0\'
The answer should be 1250
The following regex should make the four digit year available as the first capture group:
^.*\(d{4})-\d{2}-\d{2}.*$