Regular Expressions 101

Community Patterns

1...34567...11

CAN regex

0

Regular Expression
.NET 7.0 (C#)

@"
^(?<mID>24)(?<moduleID>[1-6])(((?<dlc>4)(?<payload>[0-9A-F]{8}))|((?<dlc>7)(?<payload>[0-9A-F]{14}))|((?<dlc>1)(?<payload>[0-9A-F]{2}))|((?<dlc>3)(?<payload>[0-9A-F]{6})))$
"
gm

Description

n

Submitted by anonymous - 2 years ago