Regular Expressions 101

Community Patterns

0

1

PCRE (PHP <7.3)
1
Submitted by anonymous - 7 years ago

show_inv_parser

0

Regular Expression
PCRE (PHP <7.3)

/
(NAME)((\s)?:(\s)?)([ |,| (|)|\\|\.|\"|\w|\-|\+]*)((\s)*?,(\s)*?)(DESCR)((\s)?:(\s)?)([ |,| (|)|\\|\.|\"|\w|\-|\+]*)(\s)(PID)((\s)?:(\s)?)([\w|\-|\+|=]+)((\s)+,(\s)+)(VID)((\s)?:(\s)?)([\w| ]*)((\s)+,(\s)+)(SN)((\s)?:(\s)?)([\w| ]*)
/
g

Description

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