What are your exact requirements for the resulting string, e.g. do you want the second bracketed value? or all bracketed values?