Regular Expressions 101

Community Patterns

Match inside square brackets without brackets

-1

Regular Expression
PCRE (PHP <7.3)

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

Description

no description available

Submitted by DanSkeel - 10 years ago