I\'m looking to figure out the answer to this problem here.
First off,
blah[abc] = blah[abc].replaceAll(\"(.*) (.*)\", \"$2, $1\");
Your regular expression "(.)(.)" will be of this sort : "(x)(y)" this will be replaced by "$2,$1.