Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

Description

trim leading and trailing whitespace from a string

Submitted by Dave Atchley - 11 years ago