Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-12-07 08:47
Flavor·PCRE2 (PHP)

/
^(:|;){1}(\-|~)?(D|\)){1}$
/
gm
Open regex in editor

Description

Accepts : ':' and ';' for eyes Optional : '-' and '~' for nose Accepts : ')' and 'D' for mouth

Submitted by annickFro