note
the_slycer
Not what I would do ($1 is not neccesarily a good thing ;-)), but here's some code that works, note that it's not all a regex :-)
<CODE>
$string = "<!ELEMENT ORDER (NAME,DELIVERY,PAYMENT,ORDERNUMBER)>";
$string =~ m/\((.*)\)/;
@array = split (/,/,$1);
foreach (@array){print "$_\n"}
</CODE>
43334
43334