Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?:(?:State:(\/.*?\/)?)(([[:xdigit:]]{8})(-(([[:xdigit:]]{4})-){3}).{12})(\/*([[:alnum:]])+)?\W*?)
/
ig

Description

Depending on RE parser, you will be left with MacOS scutil service keys (UUIDs) and their servicetag, if any.

Developed while working on a very elusive problem

Submitted by MW - 7 days ago