Regular Expressions 101

Library entries

Regex to select text withing square brackets.

Vote

-2

Regular Expression
javascript

/
((?!\]+)(?!\[+).)*
/
g

Description

Loading markdown...
Submitted by Dhrubajyoti Gogoi - 7 years ago