Regular Expressions 101

Library entries

hashtag and user tag regex

Vote

1

Regular Expression
pcre

/
(@[\w\.]*)|(#\w[^#\W]+)
/
gi

Description

Loading markdown...
Submitted by Luca Simonetti - 7 years ago