You are heretokenize - String tokenizer in Javascript? - Stack Overflow
tokenize - String tokenizer in Javascript? - Stack Overflow
You probably don't even need to filter, just split using this Regular Expression:
" I dont know what you mean by glory Alice said.".split(/\b\s+/)
Tags