Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-08-08 01:57
Flavor·ECMAScript (JavaScript)

/
\(\)|\[\]|\{\}
/
gm
Open regex in editor

Description

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

Submitted by Matthew Hiebing