Regular Expressions 101

Community Patterns

Community Library Entry

4

Regular Expression
PCRE (PHP <7.3)

/
([8:;]-?[)DP}>]|[[({<]-?[8:;])
/
g

Description

Finds a happy smile, except sad one

Submitted by Kovalev Evgeny - 11 years ago