Given the eternal stream of StackOverflow questions in the Quixotic quest for the one RegExp to rule email validations, I would avoid trying to perfectly implement email validation in Axure. Instead, I’d go with a few basic points to pretty accurately represent it, and then describe the rest.
Here’s a few things (non-exhaustive list) you could include in a condition for email validation (set all conditions must be true):
[ul]
[li]If value [[EmailField.text.indexOf(’@’)]] is greater than or equal to 1 (must contain @ but can’t be first character)[/li][li]If value [[EmailField.text.lastIndexOf(’.’)]] is greater than [[EmailField.text.indexOf(’@’)]] (must be a period after the @, represents a domain being present)[/li][/ul]
I would probably just stick to those two. a@a.a will pass. a@a.a.a will pass. a.a@a.a will pass. @a.a won’t pass. a@a won’t pass. Good enough probably.