Regex validation on bracketed [] string
<p>I am trying to use regex to validate one of the textfield which only a certain format is allow</p>

<p>Sample: [Apple][Orange][Durian]ABC</p>

<p>Here are some rules of the format</p>

<ol>
<li><p>No characters allowed in between bracketed items and at the start of the string.</p></li>
<li><p>At least one bracketed item but not more then 5.</p></li>
<li><p>Only these string words are allowed in bracketed items: Apple, Orange, Durian, Pear.</p></li>
<li><p>Entire string not more then 100 characters.</p></li>
</ol>

<p>I came out with this: <code>"(&lt;?bracket&gt;\[(Apple|Orange|Durian )\]){1,5}"</code> but I got this error when trying to load my page:</p>

<p>parsing ""(?bracket" - Not enough )'s. 
Can anyone assist with the regex according to the format rules, thanks.</p>
