Yes, or more simply: getSelectedValue().replaceAll("\\[(.*?)\\]", "$1")
getSelectedValue().replaceAll("\\[(.*?)\\]", "$1")