Filter Words in Text
Quickly return words in text that match a pattern or a regex
API Documentation
Request Endpoint
POST /en/api/tools/text-word-filter
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| textInput | textarea | Yes | - |
| filterType | select | Yes | - |
| pattern | text | No | The pattern to match against (required for most filter types) |
| wordBoundary | checkbox | No | Match whole words only |
| caseSensitive | checkbox | No | Match case when filtering |
| outputFormat | select | Yes | - |
| separator | text | No | Custom separator between words (overrides output format) |
| removeDuplicates | checkbox | No | Remove duplicate words from results |
| sortAlphabetically | checkbox | No | Sort results alphabetically |
| maxLength | text | No | Maximum word length (for length filter type) |
| maxVowels | text | No | Maximum number of vowels (for vowel filter type) |
| maxConsonants | text | No | Maximum number of consonants (for consonant filter type) |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-text-word-filter": {
"name": "text-word-filter",
"description": "Quickly return words in text that match a pattern or a regex",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-word-filter",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]