Extract only words shorter than X letters

Please log in or register to do it.

This tool extracts only words from your text that are shorter than a specified number of letters. You can set the maximum letter count and choose from various extraction modes: extract all words shorter than X letters, extract only words matching specified substrings among those, extract all except those containing specified substrings, or format the extracted words using a custom format. Simply enter your text, specify the maximum letter count, and select the extraction mode that suits your needs.

Extraction Modes:


Extracts every word that has fewer letters than the specified maximum.

Extracts only the words (shorter than the specified maximum) that contain the specified substring(s). Enter a comma‑separated list (e.g., app, test).

Extracts every word (shorter than the specified maximum) except those that contain the specified substring(s). Enter a comma‑separated list (e.g., and, the).

Extracts each word (shorter than the specified maximum) and formats it using a custom format. Use {word} as a placeholder for the extracted word.

Examples:

Extract All Words Shorter than X Letters

Every word shorter than the specified maximum is extracted.

Before:
This is a simple example for Testing the tool.
After (maxLetters = 5):
simple
example
Testing

Extract Only Words Matching Specified Substrings

Only words shorter than the specified maximum that contain the substring "Test" are extracted.

Before:
This is a simple example for Testing the tool.
After (maxLetters = 5, specifying "Test"):
Testing

Extract All Except Words Containing Specified Substrings

Extracts all words shorter than the specified maximum except those that contain the substring "simple".

Before:
This is a simple example for Testing the tool.
After (maxLetters = 5, excluding "simple"):
example
Testing

Extract Words with Custom Format

Each extracted word shorter than the specified maximum is formatted using the custom format.

Before:
Custom formatted output example.
After (maxLetters = 5, format "[{word}]"):
[Custom]
[formatted]
[output]
[example]
Extract CSS class names from stylesheets
Extract only words that start with a capital letter

Your email address will not be published. Required fields are marked *