Regular Expressions 101

Library entries

Parse "ipconfig /all" output and grab all MAC Adresses

Vote

2

Regular Expression
pcre

/
([[:blank:]][[:xdigit:]]{2}-[[:xdigit:]]{2}-[[:xdigit:]]{2}-[[:xdigit:]]{2}-[[:xdigit:]]{2}-[[:xdigit:]]{2})$
/
gim

Description

Loading markdown...
Submitted by j0inty - 6 years ago