You could do some javascript regex checking before they submit the form
But i am not sure on your intetions, did you want to make it so that they enter 2 e-mail addresses and you compare them?
If so you have to add both fields to register.tpl
Then you *should* be able to use them in register.php
if you have any problems just bug me
i'm around alot.