Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^WM\/((?>[0-9A-F]{1,4}\.)*[0-9A-F]{1,4})\/((?>[0-9A-F]{1,4}\.)*[0-9A-F]{1,4})$
/

Description

Matches any worldmodel ID, and captures the class and instance numbers.

Submitted by J. Van Schoor - 9 years ago