I have problem with regex for model email validation, I using this code:
^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$ --> (https://emailregex.com/)
I will modify become:
123@123.com --> invalid(if before @ all number or after @ all number)
123a@123a.com --> valid(if before @ must combine string or only string and after @ combine string or only string)
Anybody improve my code, thanks a lot.