Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
#(\S+'[\S\s]+'|\S+)
/
gm

Description

A regex I use to Tokenize Hashtags in common textflow

Submitted by juergen - 7 years ago