Regular Expressions 101

Library entries

Remove forward/reply prefixes (F:, Fw:, Fwd:, Re:, R:) from an email subject

Vote

0

Regular Expression
javascript

/
((?:[\t ]*(?:R|RE|F|FW|FWD):[\t ]*)*)(.*)
/
gmi

Description

Loading markdown...
Submitted by safeer - 3 years ago