[mailto:[EMAIL PROTECTED]]
Sent: 21. maaliskuuta 2002 7:28
To: [EMAIL PROTECTED]
Subject: [PHP] Returning mutliple matches of a regex with preg_match()
Hello all
I have been scratching my head for the last two days about this regular
expression problem. I would be really VERY happy if someo
PROTECTED]
Reply-To: liljim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Returning mutliple matches of a regex with preg_match()
Date: Thu, 21 Mar 2002 11:42:35 -
Also, make sure that you make the match ungreedy with the U modifier, or
use:
(.*?)
James
Niklas lampén wrote
Hello all
I have been scratching my head for the last two days about this regular
expression problem. I would be really VERY happy if someone could help me!
I have the following text in the file 'text.htm', for example:
--
BLOCKQUOTEP
Cow, Cow, Cow, Cow, Cow
Cow, Cow, Cow, Cow, Cow
Cow, Cow,
preg_match_all();
Niklas
-Original Message-
From: Stefen Lars [mailto:[EMAIL PROTECTED]]
Sent: 21. maaliskuuta 2002 7:28
To: [EMAIL PROTECTED]
Subject: [PHP] Returning mutliple matches of a regex with preg_match()
Hello all
I have been scratching my head for the last two days about
use preg_match_all();
the var_dump($matches); to see what happened.
Best regards,
Andrey Hristov
- Original Message -
From: Stefen Lars [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 7:27 AM
Subject: [PHP] Returning mutliple matches of a regex with preg_match
5 matches
Mail list logo