{
  "title": "Regex Tester",
  "human_url": "https://happytails.ai/en/developer-tools/regex-tester/",
  "agent_url": "https://happytails.ai/agents/en/developer-tools/regex-tester/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/developer-tools/regex-tester.md",
  "content": "Regex Tester\nTry a JavaScript regular expression and see what it matches.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Regex tester\nEnter your text in the input field.\nReview the settings, then choose Run Regex tester.\nReview the result, then use Copy result or a download link when available.\nUseful next steps\nFind and replace\nExtract urls\nJSON validator\nWorking with regex tester\nFormatting makes existing data or code easier to read. Validation checks whether it follows a syntax or schema. Conversion maps it into another representation. Choosing the right operation helps avoid treating a neatly formatted result as proof that the underlying data is correct.\nCommon questions\nDoes valid JSON mean the data is correct?\nSyntax validation only establishes that the text can be parsed as JSON. A schema can check required fields and types, but neither proves that an email address, price or external record is factually correct.\nIs decoding the same as decrypting or verifying?\nNo. Base64 and URL encoding are representations, not encryption. Reading a token payload does not verify its signature. Use the specific validation or verification process required by the system receiving the result.\nContinue your workflow:\nFind and replace\n,\nExtract urls\n,\nJSON validator\n.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Find and replace",
      "url": "https://happytails.ai/en/text-tools/find-and-replace/"
    },
    {
      "name": "Extract urls",
      "url": "https://happytails.ai/en/text-tools/extract-urls/"
    },
    {
      "name": "JSON validator",
      "url": "https://happytails.ai/en/developer-tools/json-validator/"
    }
  ],
  "tool": {
    "id": "regex-tester",
    "category": "developer-tools",
    "built": true,
    "requirements": "Declare JavaScript flavor and flags; show groups; interrupt pathological expressions.",
    "implementation": {
      "fields": [
        {
          "key": "pattern",
          "label": "Regular expression",
          "value": "\\b\\w+\\b",
          "type": "text"
        },
        {
          "key": "flags",
          "label": "Flags",
          "value": "g",
          "type": "text"
        }
      ],
      "note": "JavaScript regular expressions run in a disposable worker with a 1-second limit and maximum 10,000 matches.",
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Up to 1,000,000 characters. Review the settings before running.",
        "action": null
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Regex Tester\n\n- Human page: https://happytails.ai/en/developer-tools/regex-tester/\n- Markdown: https://happytails.ai/en/developer-tools/regex-tester.md\n- Structured JSON: https://happytails.ai/agents/en/developer-tools/regex-tester/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `regex-tester` |\n| Category | developer-tools |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nJavaScript regular expressions run in a disposable worker with a 1-second limit and maximum 10,000 matches.\n\n### Inputs and settings\n\nText input: Your text.\n\nExample or placeholder shown in the interface (not a validated fixture):\n\n```text\nType or paste your input…\n```\n\nUp to 1,000,000 characters. Review the settings before running.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `pattern` | Regular expression | text | \"\\\\b\\\\w+\\\\b\" |  |\n| `flags` | Flags | text | \"g\" |  |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nDeclare JavaScript flavor and flags; show groups; interrupt pathological expressions.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"regex-tester\",\n  \"category\": \"developer-tools\",\n  \"built\": true,\n  \"requirements\": \"Declare JavaScript flavor and flags; show groups; interrupt pathological expressions.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"pattern\",\n        \"label\": \"Regular expression\",\n        \"value\": \"\\\\b\\\\w+\\\\b\",\n        \"type\": \"text\"\n      },\n      {\n        \"key\": \"flags\",\n        \"label\": \"Flags\",\n        \"value\": \"g\",\n        \"type\": \"text\"\n      }\n    ],\n    \"note\": \"JavaScript regular expressions run in a disposable worker with a 1-second limit and maximum 10,000 matches.\",\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Up to 1,000,000 characters. Review the settings before running.\",\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nTry a JavaScript regular expression and see what it matches.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Regex tester\n\n1. Enter your text in the input field.\n2. Review the settings, then choose Run Regex tester.\n3. Review the result, then use Copy result or a download link when available.\n\n## Useful next steps\n\n- [Find and replace](https://happytails.ai/en/text-tools/find-and-replace/) ([Markdown](https://happytails.ai/en/text-tools/find-and-replace.md))\n\n- [Extract urls](https://happytails.ai/en/text-tools/extract-urls/) ([Markdown](https://happytails.ai/en/text-tools/extract-urls.md))\n\n- [JSON validator](https://happytails.ai/en/developer-tools/json-validator/) ([Markdown](https://happytails.ai/en/developer-tools/json-validator.md))\n\n## Working with regex tester\n\nFormatting makes existing data or code easier to read. Validation checks whether it follows a syntax or schema. Conversion maps it into another representation. Choosing the right operation helps avoid treating a neatly formatted result as proof that the underlying data is correct.\n\n## Common questions\n\n### Does valid JSON mean the data is correct?\n\nSyntax validation only establishes that the text can be parsed as JSON. A schema can check required fields and types, but neither proves that an email address, price or external record is factually correct.\n\n### Is decoding the same as decrypting or verifying?\n\nNo. Base64 and URL encoding are representations, not encryption. Reading a token payload does not verify its signature. Use the specific validation or verification process required by the system receiving the result.\n\nContinue your workflow: [Find and replace](https://happytails.ai/en/text-tools/find-and-replace/), [Extract urls](https://happytails.ai/en/text-tools/extract-urls/), [JSON validator](https://happytails.ai/en/developer-tools/json-validator/).\n"
}