I don't know if this is just a copy-and-paste thing, but your examples are all .company.com and your regular expression wants the target to end in .company. If that's really the case, then just make the regex: /\.(?:company?|aa\.company|bb\.company)\.com$/
Your question isn't very clear, by the way. Can you explain what the innacuracy in the count is? Are you getting some of the addresses, or none at all, or ...?
HTH
In reply to Re: Getting all emails
by VSarkiss
in thread Getting all emails
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |