Regex Email with a WildCard

Just wondering if anyone knew a good Regex expression for an email address that will allow you to match with a wildcard anywhere before the @ symbol.

I have been using this:

@“^(([\w-]+\.)+[\w-]+|([a-zA-Z]{1}|[\w-]{2,}))@” + @“((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]? [0-9]{1,2}|25[0-5]|2[0-4][0-9])\.”

  • @“([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]? [0-9]{1,2}|25[0-5]|2[0-4][0-9])){1}|”
  • @“([a-zA-Z]+[\w-]+\.)+[a-zA-Z]{2,4})$”

and it works well, but not when it tries to match something like *.gmail.com in which case it comes up with nothing.

All help is greatly appreciated.