Validation of multiple email list
am working on a validation of email list separated by semi colon, it is working fine and there is no problem
Am uising folowing expresion (;?\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*)+
now i want to extend this so that it can accept Ending semicolon should be acceptable. Email address list parsing should be smarter here to filter any spaces, extra semi colons
etc. It should also accept email add开发者_C百科ress separated by colons.any help will end in thanks as am not that genius in regular expression
am doing this asp.net
This should do it:
(\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*([;: ]+)?)+
精彩评论