Regex: how to check string contains blocks separated by commas : <p>I need to validate an input field, which should contains blocks separated by commas,and maximum is 50 blocks, each block must be 8 characters long, only number and letter be allowed.</p>

<p>Examples: 1F223142,23FH2324,3232UD23</p>

<p>I searched but I cannot find a matching one, so how should my regex be ? </p>
