put mail regex in a var