por lo general no te haria el trabajo x'D pero estoy sin nada que hacer asi que hay va
saludos y suerte!
Código PHP:
Ver original<?php
$texto = "[img=http://cosassencillas.files.wordpress.com/2007/02/fondo-pantalla.jpg]";
preg_match('/\[img=([^\]]+)\]/i', $texto, $matches); echo $matches[1];
?>