> inside
> these tags using regex?
>
> Much appreciated,
>
> B
>
>> -Original Message-
>> From: Michael [mailto:[EMAIL PROTECTED]
>> Sent: Monday, December 11, 2006 6:59 AM
>> To: Anthony Papillion
>> Cc: php-general@lists.php.net
>>
At 04:56 AM 12/12/2006 , Ford, Mike wrote:
>On 11 December 2006 19:43, Michael wrote:
>
>> At 08:29 AM 12/11/2006 , Brad Fuller wrote:
>> >
>> > The example provided didn't work for me. It gave me the same
>> > string without anything modified.
>>
>> You are absolutely correct, this is what I ge
On 11 December 2006 19:43, Michael wrote:
> At 08:29 AM 12/11/2006 , Brad Fuller wrote:
> >
> > The example provided didn't work for me. It gave me the same
> > string without anything modified.
>
> You are absolutely correct, this is what I get for not
> testing it explicitly :( My most sincer
anyone have a working solution how we can get the text from inside
>these tags using regex?
>
>Much appreciated,
>
>B
>
>> -----Original Message-
>> From: Michael [mailto:[EMAIL PROTECTED]
>> Sent: Monday, December 11, 2006 6:59 AM
>> To: Anthony Papillion
>
php.net
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Need help with RegEx
>
> If you didn't say "using regex" this is how I'd do it (untested, forgive
> typos and such..ripped from some code I actively use and stripped down):
>
>
> $_XML_RESPONSE_PARSE
If you didn't say "using regex" this is how I'd do it (untested, forgive typos
and such..ripped from some code I actively use and stripped down):
= = = Original message = = =
The example provided didn't work for me. It gave me the same string without
anything modified.
I am also looking for
tags using regex?
Much appreciated,
B
> -Original Message-
> From: Michael [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 11, 2006 6:59 AM
> To: Anthony Papillion
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Need help with RegEx
>
> At 01:02 AM 12
I just realized I neglected to explain a couple of things here, sorry...
My method will only work for the FIRST occurrence of the div tag pair in
$source_html.
The reason this method works is that you are telling preg_replace to replace
everything that matches the match pattern, with just what
At 01:02 AM 12/11/2006 , Anthony Papillion wrote:
>Hello Everyone,
>
>I am having a bit of problems wrapping my head around regular expressions. I
>thought I had a good grip on them but, for some reason, the expression I've
>created below simply doesn't work! Basically, I need to retreive all of
# [EMAIL PROTECTED] / 2006-12-11 02:02:46 -0600:
> I am having a bit of problems wrapping my head around regular expressions. I
> thought I had a good grip on them but, for some reason, the expression I've
> created below simply doesn't work! Basically, I need to retreive all of the
> text betwe
I'm no regex guru but something goes wrong here.
First of you miss the second parameter in preg_match
int preg_match ( string pattern, string subject [, array &matches [, int flags
[, int offset]]] )
If you need the text from two unique tags it should not be to hard:
$test = "THIS IS A TEST";
explode it
I'm having quite the difficulty to comprehend the regexp myself, but as a
training, go ahead.
On Monday 11 December 2006 09:02, Anthony Papillion wrote:
> Hello Everyone,
>
> I am having a bit of problems wrapping my head around regular expressions.
> I thought I had a good grip on th
12 matches
Mail list logo