Pattern
/\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\b/Sample text
Connected 192.168.0.1 Gateway 10.0.0.1 Bad 999.999.999.999Test this pattern in the editor
Octet-bounded IPv4 matcher for log scraping.
/\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\b/Connected 192.168.0.1 Gateway 10.0.0.1 Bad 999.999.999.999Test this pattern in the editor
Simple FQDN matcher for hostnames in prose.
Find YYYY-MM-DD dates in logs and prose.
ISO-8601 timestamps with optional timezone.
Common full and compressed IPv6 forms.
Colon or hyphen separated IEEE MAC addresses.
Pull severity tokens from structured logs.