Pattern
/\b(?:[0-9A-Fa-f]{2}[:-]){5}[0-9A-Fa-f]{2}\b/Sample text
eth0 00:1A:2B:3C:4D:5E wifi aa-bb-cc-dd-ee-ff bad 00:1A:2B:3C:4DTest this pattern in the editor
Colon or hyphen separated IEEE MAC addresses.
/\b(?:[0-9A-Fa-f]{2}[:-]){5}[0-9A-Fa-f]{2}\b/eth0 00:1A:2B:3C:4D:5E wifi aa-bb-cc-dd-ee-ff bad 00:1A:2B:3C:4DTest this pattern in the editor
Simple FQDN matcher for hostnames in prose.
Octet-bounded IPv4 matcher for log scraping.
Common full and compressed IPv6 forms.
Host, time, and request from a Combined log line.
Decimal degree pairs for maps and GPS.
Amazon Resource Name prefixes and resource paths.