{"uid":"cap_e--PKTejGymwHO-QAVStL","slug":"creator-desk-regex-escape-utility-54c9cd40","name":"Creator Desk Regex Escape Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/regex-escape?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"regex_escape"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LQg-JaaDQ4T1IKFnKfqI4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Escapes special characters in a string so it can be safely used as a literal pattern inside a regular expression.","exampleAgentPrompt":"Escape this string so I can safely use it as a literal pattern inside a regex: 'user.name+tag@example.com'","exampleUseCases":[{"title":"Sanitize user input for dynamic regex","prompt":"I'm building a search feature where users type a query and I match it against a list — can you escape the user's input 'hello (world)?' so it works safely as a regex literal?"},{"title":"Escape file path for pattern matching","prompt":"I need to use this Windows file path 'C:\\Users\\john.doe\\Documents' as a literal in a regex — please escape it so the backslashes and dots don't get interpreted as regex metacharacters."},{"title":"Prepare email address for regex search","prompt":"Escape 'support+alerts@my-company.com' so I can drop it directly into a regular expression pattern without any of the special characters causing issues."}],"resultDescription":"Returns a JSON object containing the escaped string in the 'result' field and the operation name 'regex_escape' in the 'operation' field, confirming the transformation that was applied.","failureModes":["Missing or null 'value' field may return a validation error or empty result","Unsupported option keys in the 'options' object may be silently ignored or cause a 400 error","Network timeout if the Render.com instance is cold-starting","Payment failure via x402 protocol results in 402 status and no result returned"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically escape strings for regex use at $0.01 USDC per call via the x402 micropayment protocol, particularly in autonomous pipelines where importing a local regex-escape library is not feasible or the agent environment is sandboxed. Prefer a local library solution for high-volume or latency-sensitive workloads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:16.599Z","isFirstParty":false,"canonicalSlug":"creator-desk-regex-escape-utility-54c9cd40"}