code for validate email address using pattern-matching
First, you need to please specify a subject for your post that actually refers better to what you are asking about and not your name. That is about as nondescript as you can get.
Second, you need to actually ask a question and not make a statement.
Third, if you are looking for code, then you have come to the wrong place. This is a place of help and learning, not a scripting service. You will have to show is what code you have written to try and do what you need and if it is not working, then we can certainly assist you with it, but we won't do your work for you.
Fourth, if this is school work then it is against this site's
Posting Guidelines to post your homework here with the expectation of an answer.
You need to read the Posting Guidelines and become familiar with them. Also, since you obviously haven't, please read the
sticky post at the top of this forum as it will certainly guide you on a better route to getting your question(s) answered.
Regards,
MODERATOR