Regular Expressions 101

Community Patterns

1...45678...902

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