Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\* LIST \((?<Markers>.*)\) \"\/\" (?<folder>.*?)$
/
gm

Description

Extract folder name and markers from a list of IMAP folders.

Submitted by anonymous - 5 years ago