Regular Expressions 101

Library entries

Match inside square brackets without brackets

Vote

-1

Regular Expression
pcre

/
(?<=\[)[^\[\]]+(?=\])
/
g

Description

Loading markdown...
Submitted by DanSkeel - 7 years ago