Regex to match symbol & - . '
<p>I'm trying to create a Regex test in JavaScript that will test a string to contain any of these characters:</p>

<pre><code> a...z A..Z 0..9 and  &amp; - . '
</code></pre>

<p>I have do this but not match:</p>

<pre><code>^[a-zA-Z0-9&amp;.-]
</code></pre>

<p><strong><em>Complete Code:</em></strong></p>

<pre><code>    &lt;field-validator type="regex"&gt;
        &lt;param name="expression"&gt;^[a-zA-Z0-9&amp;.-]+$&lt;/param&gt;
        &lt;param name="caseSensitive"&gt;false&lt;/param&gt;
        &lt;message key="format.name" /&gt;
    &lt;/field-validator&gt;
</code></pre>