Community Patterns

Community Library Entry

2

Regular Expression
Created·2016-01-26 14:32
Flavor·ECMAScript (JavaScript)

/
(\:(\w|\+|\-)+\:)(?=\s|[\!\.\?]|$)
/
gim
Open regex in editor

Description

Detects the short-code words for emojis (a la jemoji).

Submitted by Eric McCormick