Regular Expressions 101

Community Patterns

Product number

0

Regular Expression
PCRE (PHP <7.3)

/
^(?#constructor)([a-z0-9]{2}).(?#class)([a-z0-9]{2}).(?#product)0*([a-z0-9]+).(?#voltage)0*([a-z0-9]+)V.(?#attr2)0*([a-z0-9]+).{2}(?#version)([a-z0-9]{2}).(?#revision)([a-z0-9]).(?#batch)([a-z0-9])
/
mi

Description

With pn given it will return informations depending of the constructor and more variable

Submitted by anonymous - 4 years ago