Re: preg_match_all...grrrr!!!

From: Date: Tue, 23 Oct 2001 07:01:49 +0000
Subject: Re: preg_match_all...grrrr!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71906@lists.php.net to get a copy of this message
"PHPGalaxy.com" wrote: > > ... > > A link from one such entry looks like this: > > psPhoneEntry.py?firstname=Adam&lastname=Collier&street=3912+Foley+Glen+Cir&city=Fenton&state=MI&zip=48430-3435&phone=8107507456 > > My matching pattern looks like this: > $engreg = > > '/psPhoneEntry.py?firstname=(.*?)&lastname=(.*?)&street=(.*?)&city=(.*?)&state=(.*?)&zip=(.*?)&phone=(.*?)\">/i'; > Try this pattern: $engreg = '/psPhoneEntry\.py\?firstname=(.*)&lastname=(.*)&street=(.*)&city=(.*)&state=(.*)&zip=(.*)&phone=(.*)/i'; -- Pavel a.k.a. Papi

« previous php.general (#71906) next »