Remove prefix string with brackets.