Matching uppercase or lowercase string Regex
<p>I need to match the last part an an email and am using Regex.</p>

<p>It is working fine using the following <code>"[a-zA-Z0-9._-]+@abc.com$"</code> but I want the last part of the address to be upper or lower case.</p>

<p>so that that it will match variations such as</p>

<pre><code>john@abc.co.com
john@ABC.CO.com
john@Abc.co.com
</code></pre>

<p>as possible scenarios...so in other words all variations of upper and lower case.</p>

<p>How could I change the pattern to accommodate this</p>