in reply to Matching Stuff with Regex

I would recommend using split to help you out rather than trying to do the whole thing using a regex.
# Assuming that the comma delimited stuff is in $_ my @Values = split ( ",", $_ ); my $Match = ( $Values[0] eq $Null && $Values[3] eq $Null && $Values[4] eq $Null && $Values[5] eq $Null );

--t. alex

"Mud, mud, glorious mud. Nothing quite like it for cooling the blood!"
--Michael Flanders and Donald Swann