Regular Expressions 101

Community Patterns

Task 1

4

Regular Expression
PCRE (PHP <7.3)

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

Description

Finds a happy smile, except sad one

Submitted by Kovalev Evgeny - 10 years ago