$variable= preg_replace("#\[imge=\"(.*?)\"]#", '', $variable);