Parse with with Regex without trailing characters
===

How can I successfully parse the text below in that format to parse just 
    
    To: User <test@test.com> 

and 

    To: <test@test.com>

When I try to parse the text below with 

    /To:.*<[A-Z0-9._+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}>/mi

It grabs  

    Message-ID <CC2E81A5.6B9%test@test.com>, 
 
which I dont want in my answer.

I have tried using $ and \z and neither work.  What am I doing wrong?

**Information to parse**

    To: User <test@test.com> Message-ID <CC2E81A5.6B9%test@test.com>
    To:

    <test@test.com>


This is my parsing information in Rubular http://rubular.com/r/DQMQC4TQLV