regex-generator
Regex Tester API
문자열에 정규식 패턴을 테스트합니다. 모든 일치 항목, 캡처 그룹, 위치, 그리고 알기 쉬운 영문 패턴 설명을 얻을 수 있습니다. x402 기반 호출당 결제(Base L2의 USDC) -- API 키도, 가입도, 요청 제한도 없습니다.
klymax402 마켓플레이스의 일부입니다. AI 에이전트용 100개의 x402 소액결제 API, 하나의 지갑, Base의 USDC로 구성되어 있습니다.
빠른 시작 -- MCP
MCP 클라이언트 설정(Claude Desktop, Cursor, ElizaOS 등)에 추가하세요:
{
"mcpServers": {
"regex-generator": {
"url": "https://regex-generator.api.klymax402.com/mcp"
}
}
}Related MCP server: x402-sub-agent-mcp
빠른 시작 -- HTTP (x402)
curl -X POST "https://regex-generator.api.klymax402.com/api/test" \
-H "Content-Type: application/json" \
-d '{"pattern":"...","testStrings":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response bodyx402를 인식하는 모든 클라이언트(@x402/fetch, x402-agent-tools, ATXP)는 402 -> 서명 -> 재시도 사이클을 자동으로 처리합니다.
도구
도구 | 메서드 | 경로 | 가격 | 설명 |
| POST |
| $0.003 | 입력 문자열에 대해 정규식 패턴을 테스트합니다 |
text_test_regex
하나 이상의 문자열에 대해 정규식을 테스트해야 할 때 사용합니다. 모든 일치 항목, 캡처 그룹, 위치, 그리고 패턴을 사람이 이해할 수 있는 설명으로 변환한 결과를 반환합니다.
매개변수
이름 | 타입 | 필수 | 설명 |
| string | 예 | 정규식 패턴(구분 기호 제외) |
| string | 아니요 | 정규식 플래그: g, i, m, s, u (기본값: g) |
| array | 예 | 패턴에 대해 테스트할 문자열 배열 |
응답 예시:
{"pattern":"\d{3}-\d{4}","flags":"g","explanation":"Matches 3 digits, a hyphen, then 4 digits","results":[{"input":"Call 555-1234","matched":true,"matches":[{"value":"555-1234","index":5,"groups":[]}]}],"totalMatches":1}사용 시기: 코드에 정규식 패턴을 배포하기 전에 검증하거나, 패턴이 일치하지 않는 이유를 디버깅하거나, 텍스트에서 구조화된 데이터를 추출할 때 사용합니다. 복잡한 정규식을 프로덕션 코드에 작성하기 전에 사용하세요.
사용하지 않을 때: 텍스트 분류(text_classify_content), PII 감지(privacy_detect_pii), 텍스트 비교(text_compare_diff)에는 사용하지 마세요.
에이전트 프롬프트 예시
"하나 이상의 문자열에 대해 정규식을 테스트해 줘"
결제
프로토콜: x402 -- HTTP 기반 호출당 결제, 가입 불필요, API 키 불필요
네트워크: Base L2 (
eip155:8453)자산: USDC
중개자: Coinbase CDP (기본), PayAI (대체)
ATXP를 통해서도 접근 가능 (OAuth로 감싼 x402, RFC 9728 보호 리소스 메타데이터)
klymax402의 일부
AI 에이전트를 위한 100개의 x402 소액결제 API -- 하나의 지갑, Base의 USDC, 가입 불필요.
전체 API 참조: https://klymax402.com/llms-full.txt
실시간 통계: https://klymax402.com/stats
라이선스
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
x402 MCP with exact and batched payments for recurring wallet, trading, market and web workflows.
Remote MCP server exposing 330 production AI-agent services for web/data processing, validation, AI utilities, blockchain/crypto utilities, and x402 pay-per-use access.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
A paid remote MCP for CodeG, built to return verdicts, receipts, usage logs, and audit-ready JSON.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables regex testing, replacement, splitting, validation, explanation, escaping, common patterns, and benchmarking through an MCP server.1-
- FlicenseNot gradedqualityCmaintenanceMCP server for managing x402 payment policies (rules, coupons, tiers, usage logs) conversationally via LLM and evaluating request decisions.-
- AlicenseNot gradedqualityCmaintenanceValidates regex, cron, and SQL expressions by executing them in real runtimes, with payments via x402 USDC on Base.MIT
- FlicenseNot gradedqualityCmaintenanceLets users generate regex patterns from plain-English descriptions, then verifies them with Python's real re engine against generated positive and negative test strings, iterating on failures until they pass. It exposes this as a tool callable from MCP clients such as Claude Desktop or Claude Code.-