Deno Deploy function gateway

HTTP functions shaped for Power Automate.

Run regex operations through stable JSON APIs, manage tokens, and keep future function libraries behind the same call contract.

Service ready

Use GET /api/health for flow connection checks.

Power Automate payload

{
  "function": "regex.replace",
  "input": {
    "input": "abc123",
    "pattern": "\\d+",
    "flags": "g",
    "replacement": "X"
  }
}

Authentication

Add an HTTP action header: Authorization with valueBearer <token>.

Bootstrap admin calls use x-bootstrap-admin-key while creating the first token.

regex

Regex Match

Check whether text matches a regular expression and return matches.

regex.match
regex

Regex Replace

Replace regular expression matches in text.

regex.replace
regex

Regex Split

Split text with a regular expression separator.

regex.split
regex

Regex Validate

Check whether the entire input matches a regular expression.

regex.validate
regex

Regex Extract

Extract numbered and named captures from text.

regex.extract
regex

Regex Replace Many

Apply multiple regular expression replacement rules in order.

regex.replaceMany