First of all, don't take offense in downvotes. It's just someone expressing their opinion on what you wrote, they're not downvoting you as a person.
So you should not post this Meta question seeking retaliation ("Is SO planning to do something to handle such people?"), but you should instead search your own heart: are you definitely sure that there's nothing wrong with these answers?
I can't speak for the downvoter, but for your first answer, you're suggesting a particular regular expression to validate names (see: Falsehoods Programmers Believe About Names) and another one to validate email addresses (Validate email address in JavaScript?, read the comments). So while the idea is OK, the implementation is not. This is definitely worth downvoting.
Then the second answer, I can't vouch for the implementation, but at a glance it seems correct. The answer itself however is a mere code dump without explanation, which again, is downvoteable: the answer is not clear.
Altogether though, you must realise that you're answering very low-effort questions (they're definitely duplicates) in the highest-traffic tag on the site. You are bound to get some flak for that if your answers aren't entirely perfect, and frankly, such questions should not be answered but closed instead.
That being said: an answerer by themself is generally not in the position of evaluating whether their answer is one that contains a correct, fast and secure solution that helps not only the asker but also future visitors.
Sure, the code in the answer may work for the one test case you tried, but maybe someone more experienced than you sees ten ways in which it will fail. They're not required to explain their downvote, leaving you confused. That's never going to change unless you gain more experience and then look back at your earlier answers, realise what you did wrong and improve your future answers with that knowledge.
Or, in short, and no offense intended: if you're answering to the best of your abilities and still get downvoted but don't understand why, then try to improve your abilities before answering more.