I am using a regular expression for validation web url. that is not validating more than one dots(.) like www.gmail.....com, other than this it is working fine.can any body update my regular expression-
^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu|COM|ORG|NET|MIL|EDU)$
web urltodomain namea-z. Characters likeücould appear, too. And you should match case-insensitive instead of usingcom|COM(think aboutcOMorCom, which are valid, too).