I have following image url:
http://www.example.org/wp-content/blogs.dir/29/files/2013/02/Personalized-Results-Asterisk-600x417.png
Here url con
$str=preg_replace("/^(.+)-\d+?x\d+?(\.\w+)$/i","$1$2",$str);