Categories

Filter Text Paragraphs

Quickly return all paragraphs that match a pattern or a regex

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

Match case when filtering

Keep original spacing and line breaks

Remove duplicate paragraphs

Sort results alphabetically

Maximum paragraph length (for length filter type)

Maximum number of words (for word count filter type)

Maximum number of lines (for line count filter type)

API Documentation

Request Endpoint

POST /en/api/tools/text-paragraph-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)
paragraphSeparator select Yes -
caseSensitive checkbox No Match case when filtering
preserveFormatting checkbox No Keep original spacing and line breaks
outputFormat select Yes -
removeDuplicates checkbox No Remove duplicate paragraphs
sortAlphabetically checkbox No Sort results alphabetically
maxLength text No Maximum paragraph length (for length filter type)
maxWords text No Maximum number of words (for word count filter type)
maxLines text No Maximum number of lines (for line 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-paragraph-filter": {
      "name": "text-paragraph-filter",
      "description": "Quickly return all paragraphs that match a pattern or a regex",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-paragraph-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]