That's not the best of email validation regexp's, you know.
It would for example, allow an email address of
However...it's better than a kick in the teeth.
But you are using it wrong.
if (strEmail.search(validRegExp) == -1)
if (! validRegExp.test(strEmail))
But then look around for a better validator.
One I commonly use--which is better than that but far from perfect--is
If you want one the exactly follows the spec, it will be a mile long. Look around with google.