Categories

Filter Text Sentences

Quickly return all sentences that match a pattern or a regex

The pattern to match against (not used for all filter types)

Characters that mark the end of sentences

Match case when filtering

Keep original spacing and punctuation

Remove duplicate sentences

Sort results alphabetically

Maximum sentence length (for length filter type)

Maximum number of words (for word count filter type)

API Documentation

Request Endpoint

POST /en/api/tools/text-sentence-filter

Request Parameters

Parameter Name Type Required Description
textInput textarea Yes -
filterType select Yes -
pattern text No The pattern to match against (not used for all filter types)
sentenceEndings text No Characters that mark the end of sentences
caseSensitive checkbox No Match case when filtering
preserveFormatting checkbox No Keep original spacing and punctuation
outputFormat select Yes -
removeDuplicates checkbox No Remove duplicate sentences
sortAlphabetically checkbox No Sort results alphabetically
maxLength text No Maximum sentence length (for length filter type)
maxWords text No Maximum number of words (for word count 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-sentence-filter": {
      "name": "text-sentence-filter",
      "description": "Quickly return all sentences that match a pattern or a regex",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-sentence-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]