[PHP] Regular expressions Q

2004-10-28 Thread Jack . van . Zanen
Hi All I'm trying to achieve the following: In a text string there may be a number of substrings that match my criteria. I need to retrieve all of them. This is what I have so far and works perfect for the first substring but ignores the possibility of others. I need to know if there are more

Re: [PHP] Regular expressions Q

2004-10-28 Thread Alex Hogan
ereg((([[:blank:]+]|^)[09][0-9][4789][0][0-9]{3}[abcABC]?),$zn[1],$zaakn ummers1); I thought that ereg would get all of them and store them in the array $zaaknummers1 however this is not the case I just asked a question similar to this the other day. Try using;

RE: [PHP] Regular expressions Q

2004-10-28 Thread Jack . van . Zanen
Thx, Just joined today, should have looked thru the archives first though. Jack -Original Message- From: Alex Hogan [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 3:31 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Regular expressions Q ereg