Re: [PHP] getting what's between

2001-02-22 Thread Simon Garner
> $data = "Item3Item3 Has Changed"; > > eregi("([^>]+)([^>]+)", $data, $regs); > > echo $regs[1]; // "Item3" > echo $regs[2]; // "Item3 Has Changed" > ?> Oops sorry, that fourth line should say: eregi("([^<]+)([^<]+)", $data, $regs); From: "Simon Garner" <[E

Re: [PHP] getting what's between

2001-02-22 Thread Simon Garner
From: "Tyler Longren" <[EMAIL PROTECTED]> > Hello, > > I've been reading a LOT on how to solve my problem today, but haven't been > able to come up with anything yet. > > Here's my problem: > I have an html file that contains many table rows like this: > > Item1Item1 Again > Item2Item2 Again > It

Re: [PHP] getting what's between

2001-02-21 Thread David Allen Reid
Maybe something along the lines of: $results = eregi("Item3[a-Z 0-9]", $data); -David On Wed, 21 Feb 2001 23:32:04 -0600, Tyler Longren said: > Hello, > > I've been reading a LOT on how to solve my problem today, but haven't been > able to come up with anything yet. > > Here's my proble

[PHP] getting what's between

2001-02-21 Thread Tyler Longren
Hello, I've been reading a LOT on how to solve my problem today, but haven't been able to come up with anything yet. Here's my problem: I have an html file that contains many table rows like this: Item1Item1 Again Item2Item2 Again Item3Item3 Again Item4Item4 Again And so on. I want to search