Python Detect Pattern In String Excel