flash notice and email regex