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 this
[EMAIL PROTECTED]
To: php-general@lists.php.net
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 always look like that?
text1(whitespace
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, $reg);
3 matches
Mail list logo