All the Codes that Fits in Tweet
- Click the
button above to fork this gist.
- Modify all the files to according to the rules and style guide below.
- Save your entry and tweet it up!
The 140byt.es site launched yet, but for now follow @140bytes on Twitter, and keep you eye on http://140byt.es.

I just tried your example ('Robert'), but I think I managed to remove 2 bytes (haha, not quite enough) by moving the regex object into the for loop:
var myFunction = function(a,b,c){for(c in b={aehiouwy:"",bfpv:1,cgjkqsxz:2,dt:3,l:4,mn:5,r:6,"]|(\d)\1+|[":"$1"})a=a[0]+a.substr(1).replace(RegExp("["+c+"]","g"),b[c])+0;return a.substr(0,4)};