Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
RT(\A|\s)@(\w)+
/

Description

find retwitt hashtag on Twitters and add a label to highlight it.

Submitted by anonymous - 7 years ago