rommmka
12/27/2013 - 10:31 AM

Regexp URL

Regexp URL

<?php
  $pattern = '/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/i'
?>