Regular Expressions 101

Library entries

Less number variables to dictionary

Vote

1

Regular Expression
pcre

/
(?:\@)(?<key>[\w\s-]*)(?:\:\s*)(?<value>[0-9]+)+(?<unit>[\w\s-]*)(?:\;)
/
gm

Description

Loading markdown...
Submitted by actarian - 7 years ago