Back to Developer Tools
Regex Tester
Test regular expressions in the browser. Live highlight matches, capture groups, and named groups with common presets like email, URL, UUID, and IPv4.
Pattern/g/
Test Text198 chars · 5 lines
Highlighted ResultEnter a pattern above to start matching.
Contact us at hello@vectobox.com or support@example.org.
Visit https://vectobox.com/tools for more info.
UUID: 550e8400-e29b-41d4-a716-446655440000
IP: 192.168.1.1, 10.0.0.255
Phone: +1-415-555-0132Matches0
Enter a pattern above to start matching.
Presets
Regex Cheat Sheet
Character Classes
\d digit \w word char \s whitespace [abc] any of a, b, c [^abc] none of a, b, c . any char (except newline)
Anchors
^ start of line/string $ end of line/string \b word boundary \B non-word boundary
Quantifiers
* 0 or more
+ 1 or more
? 0 or 1
{n} exactly n
{n,m} n to m
+? lazyGroups
(abc) capture group (?:abc) non-capturing (?<name>abc) named group | alternation \1 backreference

