Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[0-9a-f]{4}:[0-9a-f]{2,4}:[0-9a-f]{2}\.[0-9a-f]
/
gm

Description

a regex expression to match pci BDF address like 0000:00:01.3

Submitted by anonymous - 6 years ago