Regular Expressions 101

Library entries

Matches first word

Vote

2

Regular Expression
pcre

/
\b(?:\W|[0-9])*(\w+)\b
/
i

Description

Loading markdown...
Submitted by anonymous - 7 years ago