Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\(\)|\[\]|\{\}
/
gm

Description

Given a string, find matching parenthesis, brackets, and/or curly brackets.

Submitted by Matthew Hiebing - 2 years ago