Regex for MAC Addresses, IP Addresses, and DNS

Regular Expression

I have been using RegEx a lot more recently. Mostly I have been doing Splunk searches, but I have also been writing a standard operating procedure here and there, and that tends to require defining custom fields or attributes in a way that it seems only RegEx can articulate. As a result, I have had to create MAC and IP …