> > Hi Jim, > > rather than re-invent the wheel I would prefer if you could > fix this regex I believe it covers all invalid characters one > would encounter > > s/[<sup>\w\&%'[EMAIL PROTECTED](\)&_\</sup>\+,\.=\[\]]//g; > > I would then use it as a general purpose regex for validating > filenames.
Please tell us what your are trying to do. without knowing more, this regex does not make any sense to me --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.745 / Virus Database: 497 - Release Date: 8/27/2004 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>