title: Regular expression for public keys
body: <p>I want to match keys from file which looks like this:</p>
  
  <pre><code>KEY_ID: 1
  STATUS: VALID
  -----BEGIN PUBLIC KEY-----
  MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEaq6djyzkpHdX7kt8DsSt6IuSoXjp
  WVlLfnZPoLaGKc/2BSfYQuFIO2hfgueQINJN3ZdujYXfUJ7Who+XkcJqHQ==
  -----END PUBLIC KEY-----
  </code></pre>
  
  <p>I want to subtract KEY ID and the key itself from it via preg_match_all. I tried this one:</p>
  
  <pre><code>preg_match_all('/-----BEGIN PUBLIC KEY-----(.*)-----END PUBLIC KEY-----/', $ECDS_KEYS, $matches);
  </code></pre>
  
  <p>But I got empty array from this one. Can you help me out? Thanks</p>