i have the following pattern (part of a pattern which validates urls..)
i know its still not perfect but i have a question about it...
this is the pattern : ("((http)|(https))://(w{3}\.)(\w)")
it valids this : http://www.w
should be ok.
but when i enter this:
http://www.ww....
it also ok....hmm...how to fix this that it would be accept the dots..??
its problem in here (\w).
i know its still not perfect but i have a question about it...
this is the pattern : ("((http)|(https))://(w{3}\.)(\w)")
it valids this : http://www.w
should be ok.
but when i enter this:
http://www.ww....
it also ok....hmm...how to fix this that it would be accept the dots..??
its problem in here (\w).