Check if a string is of a string pattern
<p>I have the following string pattern:</p>

<pre><code>const string STRING_PATTERN = "Hello {0}";
</code></pre>

<p>How can I check a string is of the above string pattern?</p>

<p>For example:</p>

<p>string "Hello World" is of the above string pattern</p>

<p>string "abc" is not of the above string pattern.</p>

<p>Best</p>
