Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(^|\s)(\w+)(?=\s|$)
/
g

Description

This regex can ALL!

Submitted by YURMATH ER - 9 years ago