Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
[\s.,\/\(\):\n]+
/
g

Description

This regexp can be used to separate words in common text.

Submitted by Rafael Salazar - 9 years ago