Anyone want to try their hand at coming up with a regex that matches both:
I
(http:/)?(/[\w.]+)+/?
matches these, but maybe you had stricter conditions in mind?