Regular Expressions 101

Library entries

Match string between brackets with two groups

Vote

0

Regular Expression
pcre

/
jform\[([\w\-]+)\]\[?([\w\-]+)?\]?
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago