RegExp Tester

A small, focused regex playground for everyday text wrangling. Type a pattern, toggle flags, paste sample text, and Birdor will highlight all matches and show capture groups in real time — perfect for debugging log filters, validation rules, and search patterns.

Pattern is compiled using the browser's RegExp engine.
Flags:
//gi

Click a template to prefill the pattern and flags. You can still edit them afterwards.

Type or paste any text here. Matching segments will be highlighted on the right as you type.

All matched segments are highlighted. Turn on the g flag to find multiple matches.

Here are some emails:
  dev@birdor.com
  user@example.org

Add a hex color: #fff / #1a2b3c
And a valid IPv4 address: 10.0.0.1
And a phone number: 13812345678
And a URL: https://birdor.com/tools/regexp-tester
2 matches
#1 @ 24"dev@birdor.com"
#2 @ 41"user@example.org"

Flags behave exactly like in JavaScript's RegExp:g (global),i (ignoreCase),m (multiline),s (dotAll),u (unicode),y (sticky).

This tool uses the browser's native RegExp engine. For production code, make sure your backend runtime (Node.js, Deno, browsers, etc.) supports the same syntax and flags.