I'm following these specifications from wikipedia.
[^\.]([a-zA-Z\d\!\#\$%&\'\*\+\-\/\=\?\^_`\{|\}\~]|[^\.][\.]{1})+[^\.]@[a-zA-Z\d\-\_]+(\.[a-z]{2,5}){1,2}
How can it be improved/shortened?
PS:
I know there are multitudes of email validators already made, this is strictly for my own learning in regards to regex. Thanks.