Question: Build a regular expression that captures all Media Access Control Addresses ( MAC address ) which is a 1 2 digit hexadecimal where each pair
Build a regular expression that captures all Media Access Control Addresses MAC address
which is a digit hexadecimal where each pair of hexadecimal numbers is separated by
a colon or hyphen. Additionally, MAC address is also valid where three groups of four
hexadecimal digits are separated by dots Make sure you support your answer with proper
reasoning. Here are some of the MAC addresses that your regex should match this list is
not exhaustive
Keep in mind Hexadecimal numbers range to and letters from a to f and A
to F
AB
:AB::CD::EF
AB
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
