Regular Expressions 101

Community Patterns

Matches first word

2

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by anonymous - 9 years ago