Hi Susan!
Thanks for your response..For your information, i want to alter that regular expression to ensure that i can check the value of .my( for example to check naz.my).
Ok i explain my requirement to check the domain name
1. Cannot enter ma--il.com.my (-- cannot be entered) but (m-a-i-l.com.my can be entered) - means that cannot enter double dash(--)
2. Cannot enter ma..il.com.my (-- cannot be entered) but (m.a.i.l.com.my can be entered) - means that cannot enter double dot(..)
3. Cannot enter the value of !@#$%^&*()+=?/><~`|\{}[] and [space]
4. Can enter the value of - (dash) and . (dot)
5. Can enter only alphanumeric only
6. For the domain zone, need to validate for
(i) .com.my (example: mail.com.my),
(ii) .net.my (example: mail.net.my),
(iii) .org.my (example: mail.org.my),
(iv) .name.my (example: mail.name.my),
(v) .my (mail.my)