Poker Formatter

Format poker cards for forum games and whatever without reaching for Unicode input methods.

The regex employed is essentially /\b([A2-9TJQK]|10)([CDHS])\b/g. You have to type in uppercase (otherwise even “as” would be filtered).

(note: the commenting setup here is experimental and I may not check my comments often; if you want to tell me something instead of the world, email me!)