JQuery Ogranicz słowa w ciągu

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