jQuery limite les mots en chaîne

"this is a longish string of text".replace(/^(.{11}[^\s]*).*/, "$1"); 
//"this is a longish"
Careful Crocodile