Regular Expressions
activeReDoS-safe regular expressions powered by RE2 — test, find matches with numbered and named capture groups, replace, and split. RE2 guarantees linear-time evaluation, so untrusted patterns can never cause catastrophic backtracking.
- Transactions · 30d
- 0
- Volume · 30d
- $0.00
- Unique buyers · 30d
- 0
- Uptime · 30d
- 100.0%
- Latency p50
- 190ms
- Reported calls · 30d
- 8
Endpoints (4 live)
POST/v1/test— Test whether a RE2 pattern matches anywhere in the input. Returns { matched }. RE2 guarantees linear-time evaluation, so this is safe against catastrophic backtracking. An invalid pattern is a clean 400; no match is a successful 200. (0.004 USDC on Base)POST/v1/split— Split the input into parts on each match of a RE2 pattern. An optional limit caps the number of parts (0 = unlimited). Returns the parts array and its count. (0.004 USDC on Base)POST/v1/replace— Replace matches of a RE2 pattern with a replacement string. Replaces all matches by default (set all=false for first-only). The replacement may reference capture groups with $1, $2 or ${name}. Returns the resulting string. (0.004 USDC on Base)POST/v1/match— Find the first match (or all matches with all=true) of a RE2 pattern, returning each match's text, start/end offsets, and numbered and named capture groups. No match is a successful 200 with an empty match list. (0.004 USDC on Base)
First seen · last seen