Birdor Tools · Text
RegExp Tester · Birdor Tools
A lightweight regular expression playground for developers. Test JavaScript regex patterns in real time, toggle flags (g, i, m, s, u, y), highlight matches, and inspect groups — all in your browser.
Regular expression
Pattern is compiled using the browser's RegExp engine.
Flags:
//gi
Common patterns
Click a template to prefill the pattern and flags. You can still edit them afterwards.
Test text
Type or paste any text here. Matching segments will be highlighted on the right as you type.
Highlighted preview
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
Match details
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).