Community Patterns

Community Library Entry

0

Regular Expression
Created·2020-01-10 10:43
Flavor·PCRE (Legacy)

/
jform\[([\w\-]+)\]\[?([\w\-]+)?\]?
/
gm
Open regex in editor

Description

Matches all alphanumeric (\w), underscore and dash (-) that is included in square brackets ([]). The result gives two groups that can be used with $1 and $2.

Submitted by anonymous