RegEx tester
Test regular expressions live: highlight matches, show groups, try replacements.
//
Flags:
g all matches, i case-insensitive, m multiline, s dot matches newline, u UnicodePresets:
2 matches
Contact: admin@example.com, support@company.org
Servers 10.0.0.12 and 192.168.178.1 on 24.12.2026
MAC 00:1A:2B:3C:4D:5E
Result after replacing
#1
admin@example.com at index 9#2
support@company.org at index 28Cheat sheet
\ddigit,\wword char,\swhitespace,.any char*0+,+1+,?0 or 1,{2,4}2 to 4 times^start,$end,\bword boundary(…)group,(?<name>…)named group,[a-z]class,a|bor