Word-Length Filter

Extract Unicode words whose grapheme or code-point lengths fall in a chosen range.

Loading Word-Length Filter...

How to use

Set inclusive minimum and maximum lengths. Choose graphemes for reader-visible length, then optionally keep only the first occurrence of each word.

Example

Input
a blue green bicycle
Output
blue green

Limitations

Word detection follows Intl.Segmenter. Hyphenated forms may be segmented into multiple words depending on punctuation and language.

Frequently Asked Questions

Are the limits inclusive?

Yes. A four-character word is included when either limit equals four.

How does uniqueness work?

It preserves the first matching spelling and removes later matches; by default the comparison ignores case.