Hi everyone,
I am looking for a regular expression which can extract URLS with extension(jpg,png,gif,mp3,mp4,3gp).At present I have this one
$reg_exUrl = "!(http|https)://([a-z0-9A-Z\-\.\/\_\:\@]+\.(?:jpe?g|png|gif|mp3|mp4|3gp))!Ui"
It works well but for this url=http://190.230.80.163:8080/movies/677025542@190.230.80.163.3gp
It only detects
http://190.230.80.163:8080/movies/677025542@190.230
I tried one more $reg_exUrl = "/(http|https)\:\/\/[a-zA-Z0-9\-\.]+\.[a-zA-Z0-9]{2,3}(\/\S*)?/"
this gives
http://190.230
Any help would be appreciable.
Thanks