Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(\()[ \t\n]*|[ \t\n]*(\))
/
gm

Description

Eliminate spaces in the inner part of parenthesis.

Submitted by Luis Colorado - 10 years ago