Categories

Filter Text Lines

Quickly return text lines that match a pattern or a regex

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

Match case when filtering (not applicable to all filter types)

Show lines that do NOT match the criteria

API Documentation

Request Endpoint

POST /en/api/tools/text-line-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 some filter types)
matchType select Yes -
caseSensitive checkbox No Match case when filtering (not applicable to all filter types)
invertMatch checkbox No Show lines that do NOT match the criteria

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-line-filter": {
      "name": "text-line-filter",
      "description": "Quickly return text lines that match a pattern or a regex",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=text-line-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]