Seems like he forgot to end his RegExp's.
Replace lines 49 and 50 with:
code:
rtfData = rtfData.replace(/\\{/,"{");
rtfData = rtfData.replace(/\\}/,"}");
Wonderful work there, Dempsey! I tried it with some copied text from WordPad and the debugger doesn't lie: it works!
However, my Office Word 2007 seems to make things a lot more difficult, it doesn't recognize it. (line 86 "var sColourTbl = rtfData.match(/\\colortbl(.+)\}/)[1];" fails).
I changed it so it actually returns the text, this is really useful!
Hint: add the command to Plus!' commands list!