title: How can I find a key in a map based on a pattern matching in java?
body: <p>I want to find keys in a map with a pattern matching.</p>
  <pre><code>Ex:-   
      Map&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
      map.put(&quot;address1&quot;, &quot;test test test&quot;);
      map.put(&quot;address2&quot;, &quot;aaaaaaaaaaa&quot;);
      map.put(&quot;fullname&quot;, &quot;bla bla&quot;);
  </code></pre>
  <p>From above map, I want to get the values of keys which has prefix of &quot;address&quot;. So as in this example output should be the first two results (&quot;address1&quot; and &quot;address2&quot;).</p>
  <p>How can I achieve this dynamically?</p>