Gregg R . Allen wrote: > It was close but what I got is : "JohnDoe.com" Instead of > "[EMAIL PROTECTED]". > > I think it has something to do with escaping the "@" sign. I've been > experimenting, but without much luck. >
that's because Perl thinks @Someplace is an array. if you have warning enable, Perl will probably tell you that @Someplace is undef. either put the string in single quote like: '[EMAIL PROTECTED]' or escape the @ character like: "[EMAIL PROTECTED]' and apply your reg. exp again. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]