Regular Expressions 101

Library entries

emoji short-code detection

Vote

2

Regular Expression
javascript

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

Description

Loading markdown...
Submitted by Eric McCormick - 6 years ago