Thx, but could anybody give me an example? It shouldnt be too hard?!

*********** REPLY SEPARATOR  ***********

On 11/01/2001 at 13:50 Moritz Petersen wrote:

>with every line do the following to get the name:
>
>$name = strtok($line, " ");
>
>Mo.
>
>> -----Original Message-----
>> From: K.Simon [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, January 11, 2001 1:19 PM
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] Stripping!!!
>>
>>
>> I have a file with 45000 newsgroups in there. It looks like that:
>>
>> alt.1d 0000070753 0000057290 y
>> alt.2600 0000515487 0000435743 y
>> alt.3d 0000073441 0000059461 y
>> alt.abortion.inequity 0000272142 0000227847 y
>> alt.abuse-recovery 0000000036 0000000036 m
>> alt.abuse.recovery 0000137940 0000021046 y
>> alt.acting 0000052147 0000005774 y
>> alt.activism 0000541011 0000437813 y
>> alt.activism.d 0000050394 0000047001 y
>> alt.activism.death-penalty 0000192721 0000097832 y
>>
>> Now i want to strip all the numbers out (not really all) so that
>> it look like this:
>>
>> alt.1d
>> alt.2600
>> alt.3d
>> alt.abortion.inequity
>> alt.abuse-recovery
>> alt.abuse.recovery
>>
>> How can this be done with PHP?
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to