Regex Tester

Test regular expressions in real time with match highlighting and group capture.

/ /

API Usage

Test regex patterns programmatically:

curl "https://ai.doxx.lat/api/regex?pattern=%5Cd%2B&text=abc123def456&flags=g"

Free API. CORS enabled. No signup required.

Regex Quick Reference

. Any character
\d Digit [0-9]
\w Word char [a-zA-Z0-9_]
\s Whitespace
^ Start of string
$ End of string
* 0 or more
+ 1 or more
? 0 or 1
{n,m} n to m times
(group) Capture group
[abc] Character class
a|b Alternation
(?:...) Non-capturing
(?=...) Lookahead
(?<=...) Lookbehind