Regular Expressions 101

Community Patterns

[TYPECODE #1\](NCHG)

1

Regular Expression
PCRE (PHP <7.3)

/
\[TYPECODE #1\](NCHG)\[MARF#\][^ ].*?\[EREF#\][^ ].*?\[IREF#\][^ ].*?\[RTRN#]\s.*?\[DR #1\][^ ]
/

Description

[TYPECODE #1](NCHG)[MARF#][^ ].?[EREF#][^ ].?[IREF#][^ ].?[RTRN#]\s.?[DR #1][^ ]

Submitted by AS/KL - 8 years ago