validação de URL

'^((ht|f)tps?):\/\/([-A-Za-z_0-9]+\/?)(\.[-A-Za-z_0-9]+\/?)?((\.[-A-Za-z_0-9]+)(\.\w{2,3}){,2}\/?)?(\/?([-A-Za-z_0-9]+)(\/[-A-Za-z_0-9]+\.\w{2,3})?)*$'
'[hf]t?tps?://[0-9a-zA-Z.-]+(/[0-9a-zA-Z\.-\/]+)?'
'[hf]t?tps?://[0-9_a-zA-Z.-]+(/[0-9_a-zA-Z\.-\/]+)?'

Comentários