what i would like to do is the following:::

open a file of undetermined format,
take all non alphanumeric characters (other than spaces, tabs, \n etc)
and parse the output around them... 

open (IN,"file.unknown");
while (<IN>)
        {
           s/insert regular expression here/\n\n;
           push(@array,$_); # or just shunt it out to another file :P
        }


i'd love suggestions on this :)  also, if memory serves, each time 
the regular expression is matched, then $1..$n gets the match value (or
am i thinking of something else?

i would like to be able to manipulate them at some other point
in the program- maybe find the use of various unknown tags, or
substitute them with html tags that would make the document more
legible..... (not very worried about that right now though)


thank you,
     willy

--
Bill Gates is a man who loves EULAs,
If you break his contract he'll just sue ya',
If you do any sharing,
He'll set you to swearing,
So use GPL and shout 'booya'!!

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to