Re: [PHP] Re: String /pattern formatting extraction question

2006-04-10 Thread Robin Vickery
On 10/04/06, Andy <[EMAIL PROTECTED]> wrote: > >> text1 /ptext2 /otext3 > > Does it always look like that? > > text1(whitespace)/ptext2(whitespace)/otext3 > > The ideea is to extract the texts before and between /o and /p. > $html = "asdäüü ö ö vf /pxtestxx/ostestss"; > eregi("^([^/.*]*)", $html, $

Re: [PHP] Re: String /pattern formatting extraction question

2006-04-10 Thread Andy
Regards, Andy. - Original Message - From: "Barry" <[EMAIL PROTECTED]> To: Sent: Monday, April 10, 2006 4:22 PM Subject: [PHP] Re: String /pattern formatting extraction question Andy wrote: Hi to all, I have the following pattern for a string: text1 /ptext2 /otext3 Does it al

[PHP] Re: String /pattern formatting extraction question

2006-04-10 Thread Barry
Andy wrote: Hi to all, I have the following pattern for a string: text1 /ptext2 /otext3 Does it always look like that? text1(whitespace)/ptext2(whitespace)/otext3 Then use explode to create an array from it explode (" ",$stringpattern); Now, I want to extract the text by "patterns" from th