Regular Expressions 101

Community Patterns

spaces in parenthesis

1

Regular Expression
ECMAScript (JavaScript)

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

Description

Eliminate spaces in the inner part of parenthesis.

Submitted by Luis Colorado - 9 years ago