This will do most of your work.print grep{! /<!DOCTYPE XMLDATA SYSTEM \"artist_royalty\.dtd\">/} @lin +es;
Hope this helps,
Jeroen
"We are not alone"(FZ)
Update $code or die pointed me to stupid omission. Added that damn exclamation mark.
In reply to Re: Regex on a array
by jeroenes
in thread Regex on a array
by adobepro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |