Hi all, (Example 1) I have the following lines: This is some text....<B luebird>..MBAAAEgAAAQAB blaah,blaah =+=+=+=+=+=+=+=+=+=+=+
(Example 2) but sometimes it looks like this: This is some text....<Bluebird>.. MBAAAEgAAAQAoBAAAQKAREDSCETRTBDFS blaah,blaah =+=+=+=+=+=+=+=+=+=+=+ Now, given this, I am wanting to skip over the text when I find it (bounded by <Bluebird> and =+=+=+) So, I have a loop as follows: LINE: while ( <> ) { next LINE if (m/\.{4}<B.*ird>/s .. /(\+\=\+)$/); print; } The "next" works fine if the <Bluebird> tag is not split as in example (2) above, but fails when the <Bluebird> tag is split as in example (1) above. Can anyone show me what I am doing wrong. Thanks H -- -o) /\\ Message void if penguin violated _\_V Don't mess with the penguin Hamish Whittal South Africa 082 803 5533 021 671 7710 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>