socket.help

Regex tester

Try a regular expression against sample text.

Runs in your browser
OutputText · 0 bytes
Your result will appear hereAdd your input, choose the options and run the tool.

Your input stays on this device. Nothing is uploaded or saved.

About Regex tester

Find matches and capture groups with a bounded, linear-time regular expression engine.

When to use it

Check extraction patterns without catastrophic backtracking.

Regex tester example
Text: Order 123
Pattern: [0-9]+
Match: 123

How to use it

  1. Enter test text and a pattern.
  2. Choose flags and inspect match positions and groups.

Limits & privacy

Uses RE2 syntax, not every JavaScript regex feature. Backreferences and lookaround are unsupported. Up to 32 KiB of text, 512 pattern characters, and 100 returned matches. Offsets use JavaScript UTF-16 indexes.

Use this tool from the API reference or connect through the SDK, CLI, SSH, or MCP. Hosted calls share your plan allowances.