{
  "x402Version": 2,
  "id": 37163,
  "slug": "37163",
  "resource": "https://api.vextorium.com/regex-probar-pago",
  "description": "Test a regular expression against a text: every match with position, groups and named groups, plus the result of a substitution if you pass a replacement. Flags i, m, s, x. Time-limited, safe against catastrophic backtracking.",
  "type": "http",
  "serviceName": "Vextorium",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "2000",
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:5042",
      "payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
      "asset": "0x3600000000000000000000000000000000000000",
      "amount": "2000",
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "coincide": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "coincidencias": {
            "items": {
              "properties": {
                "fin": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "grupos": {
                  "items": {
                    "type": [
                      "null",
                      "string"
                    ]
                  },
                  "type": [
                    "array",
                    "null"
                  ]
                },
                "grupos_con_nombre": {
                  "properties": {
                    "dom": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "user": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  },
                  "type": [
                    "null",
                    "object"
                  ]
                },
                "inicio": {
                  "type": [
                    "null",
                    "number"
                  ]
                },
                "texto": {
                  "type": [
                    "null",
                    "string"
                  ]
                }
              },
              "type": [
                "null",
                "object"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "flags": {},
          "grupos_definidos": {
            "type": [
              "number",
              "null"
            ]
          },
          "nombres_de_grupo": {
            "items": {
              "type": [
                "null",
                "string"
              ]
            },
            "type": [
              "array",
              "null"
            ]
          },
          "num_coincidencias": {
            "type": [
              "number",
              "null"
            ]
          },
          "patron": {
            "type": [
              "string",
              "null"
            ]
          },
          "resultado_sustitucion": {}
        },
        "type": [
          "object",
          "null"
        ]
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "patron": "(?P<user>\\w+)@(?P<dom>[\\w.]+)",
            "texto": "ana@x.com y luis@y.org"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "coincide": true,
            "coincidencias": [
              {
                "fin": 9,
                "grupos": [
                  "ana",
                  "x.com"
                ],
                "grupos_con_nombre": {
                  "dom": "x.com",
                  "user": "ana"
                },
                "inicio": 0,
                "texto": "ana@x.com"
              },
              {
                "fin": 22,
                "grupos": [
                  "luis",
                  "y.org"
                ],
                "grupos_con_nombre": {
                  "dom": "y.org",
                  "user": "luis"
                },
                "inicio": 12,
                "texto": "luis@y.org"
              }
            ],
            "flags": null,
            "grupos_definidos": 2,
            "nombres_de_grupo": [
              "user",
              "dom"
            ],
            "num_coincidencias": 2,
            "patron": "(?P<user>\\w+)@(?P<dom>[\\w.]+)",
            "resultado_sustitucion": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "flags": {
                    "type": "string"
                  },
                  "max_coincidencias": {
                    "type": "integer"
                  },
                  "patron": {
                    "type": "string"
                  },
                  "reemplazo": {
                    "type": "string"
                  },
                  "texto": {
                    "type": "string"
                  }
                },
                "required": [
                  "patron",
                  "texto"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "coincide": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "coincidencias": {
                    "items": {
                      "properties": {
                        "fin": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "grupos": {
                          "items": {
                            "type": [
                              "null",
                              "string"
                            ]
                          },
                          "type": [
                            "array",
                            "null"
                          ]
                        },
                        "grupos_con_nombre": {
                          "properties": {
                            "dom": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "user": {
                              "type": [
                                "null",
                                "string"
                              ]
                            }
                          },
                          "type": [
                            "null",
                            "object"
                          ]
                        },
                        "inicio": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "texto": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": [
                        "null",
                        "object"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "flags": {},
                  "grupos_definidos": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "nombres_de_grupo": {
                    "items": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "num_coincidencias": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "patron": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "resultado_sustitucion": {}
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "regex",
    "devtools",
    "text",
    "parsing",
    "testing",
    "bazaar"
  ],
  "sourceHost": "api.vextorium.com",
  "lastUpdated": "2026-10-08T06:09:27.483Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:09:27.256Z"
  },
  "metadata": {
    "serviceName": "Vextorium",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "patron": "(?P<user>\\w+)@(?P<dom>[\\w.]+)",
              "texto": "ana@x.com y luis@y.org"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "coincide": true,
              "coincidencias": [
                {
                  "fin": 9,
                  "grupos": [
                    "ana",
                    "x.com"
                  ],
                  "grupos_con_nombre": {
                    "dom": "x.com",
                    "user": "ana"
                  },
                  "inicio": 0,
                  "texto": "ana@x.com"
                },
                {
                  "fin": 22,
                  "grupos": [
                    "luis",
                    "y.org"
                  ],
                  "grupos_con_nombre": {
                    "dom": "y.org",
                    "user": "luis"
                  },
                  "inicio": 12,
                  "texto": "luis@y.org"
                }
              ],
              "flags": null,
              "grupos_definidos": 2,
              "nombres_de_grupo": [
                "user",
                "dom"
              ],
              "num_coincidencias": 2,
              "patron": "(?P<user>\\w+)@(?P<dom>[\\w.]+)",
              "resultado_sustitucion": null
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "flags": {
                      "type": "string"
                    },
                    "max_coincidencias": {
                      "type": "integer"
                    },
                    "patron": {
                      "type": "string"
                    },
                    "reemplazo": {
                      "type": "string"
                    },
                    "texto": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "patron",
                    "texto"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "coincide": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "coincidencias": {
                      "items": {
                        "properties": {
                          "fin": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "grupos": {
                            "items": {
                              "type": [
                                "null",
                                "string"
                              ]
                            },
                            "type": [
                              "array",
                              "null"
                            ]
                          },
                          "grupos_con_nombre": {
                            "properties": {
                              "dom": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              },
                              "user": {
                                "type": [
                                  "null",
                                  "string"
                                ]
                              }
                            },
                            "type": [
                              "null",
                              "object"
                            ]
                          },
                          "inicio": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "texto": {
                            "type": [
                              "null",
                              "string"
                            ]
                          }
                        },
                        "type": [
                          "null",
                          "object"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "flags": {},
                    "grupos_definidos": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "nombres_de_grupo": {
                      "items": {
                        "type": [
                          "null",
                          "string"
                        ]
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "num_coincidencias": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "patron": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "resultado_sustitucion": {}
                  },
                  "type": [
                    "object",
                    "null"
                  ]
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.vextorium.com",
    "manifest_name": "api.vextorium.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "coincide": true,
      "coincidencias": [
        {
          "fin": null,
          "grupos": [
            "value"
          ],
          "grupos_con_nombre": {
            "dom": null,
            "user": null
          },
          "inicio": null,
          "texto": null
        }
      ],
      "flags": null,
      "grupos_definidos": 0,
      "nombres_de_grupo": [
        "value"
      ],
      "num_coincidencias": 0,
      "patron": "string",
      "resultado_sustitucion": null
    },
    "type": "string"
  }
}