Arianule Arianule - 3 months ago 25
Javascript Question

Matching uppercase or lowercase string Regex

I need to match the last part an an email and am using Regex.

It is working fine using the following

but I want the last part of the address to be upper or lower case.

so that that it will match variations such as

as possible in other words all variations of upper and lower case.

How could I change the pattern to accommodate this