Regular Expressions 101

Library entries

Get Hash Tags from tweet

Vote

0

Regular Expression
pcre

/
(^|\B)(#(?![0-9_]+\b)([a-zA-Z0-9_]{1,30})(\b|\r))+
/
gm

Description

Loading markdown...
Submitted by anonymous - 9 months ago