remove white space from extended match string