Trying to extract the time from tycho.usno.navy.mil/timer.html using Python : I need to extract the time for EDT, MDT from the mentioned URL. I've been trying to extract it using re.findall but I am unable. I am using the following regex \d{2}\:\d{2}\:\d{2}\s(AM|PM)\s(MDT|PDT). The output is only PM and MDT or PDT