Re: [PHP] Re: Silly regex giveing me a hard time

2005-10-16 Thread Dotan Cohen
On 10/16/05, Darvin <[EMAIL PROTECTED]> wrote: > Dotan Cohen wrote: > > I have a list like this: > > 235 Some info > > 12323 other 5 things > > No number on this line! > > 43 something or other > > > > I need to remove the first number from each line, so that I will get this: > > Some info

[PHP] Re: Silly regex giveing me a hard time

2005-10-16 Thread Darvin
Dotan Cohen wrote: I have a list like this: 235 Some info 12323 other 5 things No number on this line! 43 something or other I need to remove the first number from each line, so that I will get this: Some info other 5 things No number on this line! something or other So I tried: $data=p