Regex Tester
Build and debug JavaScript regular expressions with real-time match highlighting, capture groups, and flag support. Includes a quick-reference cheatsheet for common patterns.
ad slot · leaderboard
//
Match preview (2)
Reach me at alice@example.com or bob@dev.io
Matches
[0] alice@example.com · groups: alice, example.com
[1] bob@dev.io · groups: bob, dev.io
Cheatsheet
. any char \d digit \w word \s space
^ start $ end \b boundary
* 0+ + 1+ ? optional {n,m} range
(abc) group (?:abc) non-capture
[abc] set [^abc] not a|b alt
Flags: g global, i case-insensitive, m multiline, s dotallad slot · rectangle
Related tools
Text→
Diff Checker
Compare two pieces of text and see line-by-line and word-level differences.
Text→
Markdown Previewer
Live GitHub-flavored Markdown preview with side-by-side editing.
Converters→
Epoch / Unix Timestamp Converter
Convert Unix epoch timestamps to human-readable dates and back, in any timezone.
Generators→
UUID Generator
Generate UUID v1, v4, and v7 identifiers in bulk, instantly.
ad slot · leaderboard