Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
\QAdventure\E|\QAngst\E|\QCrime\E|\QDrama\E|\QFamily\E|\QFantasy\E|\QFriendship\E|\QGeneral\E|\QHorror\E|\QHumor\E|\QHurt/Comfort\E|\QMystery\E|\QParody\E|\QPoetry\E|\QRomance\E|\QSci-Fi\E|\QSpiritual\E|\QSupernatural\E|\QSuspense\E|\QTragedy\E|\QWestern\E
/
g

Description

Matches a string if it contains any of the valid FFN genres.

Submitted by anonymous - 9 years ago