Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
([[(])+\s*(.*)\s+([\])])
/

Description

Removes space after opening and before closing square and reqular brackets/parenthesis and keeps what's inside

Submitted by anonymous - 9 years ago