Hi Want a regular expression for SMTP server host name.
It should except patter like iuoo.rolta.com (only two '.')
I have an expression but it's excepting more '.' like mail.abc.com.com
^((([\w]+\.[\w]+)+)|([\w]+)).(([\w]+\.)+)([A-Za-z]{1,3})$
Can anyone help me on this?