Regex optionally choose anything or anything inside quotes
<p>I have the following cases,</p>

<pre><code>docId:1234
docName:"Document"
docDescription:"Document description"
</code></pre>

<p>I want to use regex to extract the key and value in the above cases.</p>

<p>I generated <code>(.+?):\"(.*)\"</code>. 
group1 -> docName, group2 -> Document</p>

<p>But this worked only for the 2nd and 3rd cases. 
I tried something like <code>(.+?):\"(.*)\"|(.*)</code>. But they provide me with the wrong results. Can someone please explain what I am doing wrong here.</p>