Test regular expressions online with real-time match highlighting. No signup. No tracking.
Why Forge Regex vs Regex101? → · API docs · All APIs
Click any pattern to load it into the tester.
# Test a pattern
curl -X POST https://forge-node.tail2b516d.ts.net/regex/test \
-H "Content-Type: application/json" \
-d '{"pattern": "\\d+", "test_string": "abc 123 def 456"}'
# Split by pattern
curl -X POST https://forge-node.tail2b516d.ts.net/regex/split \
-H "Content-Type: application/json" \
-d '{"pattern": "[,;\\s]+", "test_string": "a, b; c d"}'
# Get common patterns
curl https://forge-node.tail2b516d.ts.net/regex/patterns
Full docs: /regex-docs