Please, I need help with removing any words with three or lesser characters in a string.
Here is my code
let text = "The best things in life are free";
let result = text.replace(/^[a-zA-Z]{3}{2}{1}$/, '');
My expected result should be:
"best things life free"