I have a string similar to "dasdasdsafs[image : image name : image]vvfd gvdfvg dfvgd". From this string, I want to remove the part which stars from  [image : and ends at : image] . I tried to find the 'sub-string' using following code-  
result = re.search('%s(.*)%s' % (start, end), st).group(1)
but it doesn't give me the required result. Help me to find the correct way to remove the sub-string from the string.
 
     
     
     
     
    