http:[\/]{2}.+?[.][^\/]+(.+)[.].+
let's see, what it done:
http:[\/]{2}.+?[.][^\/]
- non-capture group for http://php.net
(.+)[.]
- capture part until last dot occur: /manual/en/function.preg-match
[.].+
- matching extension of file like this: .php