Re: Regex help

From: Date: Fri, 13 Jan 2006 14:52:07 +0000
Subject: Re: Regex help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-228563@lists.php.net to get a copy of this message
Eric, thanks for replying. I couldn't quite get that to work. Albert, I'm currently working with what you suggested, though the unit names are not that consistent: $vals = preg_split(' ?X? ',$unit[1]); echo "<strong>".$unit[1]."</strong><br />\n"; echo "Panel: ".$vals[0]."<br />Width: ".$vals[1]."<br />Height: ".$vals[2]."<br />\n"; 202-90B 48 X 48 X 69 1/4 Panel: 202-90B 48 Width: 48 Height: 69 1/4 Thanks

« previous php.general (#228563) next »