How To Extract Date From A String In Python