exp. string to replace;
150941_3D-glass-green-effect-hd-wallpapers_jpg
I need to replace the character _jpg with .jpg but the extension can change so I need _ to be replaced with a point. I have tried strpos and then substr_replace but this removes everything after and include the _.