php-general | 2004032
Date: 03/31/04
- Next message: Red Wingate: "Re: [PHP] Regex"
- Previous message: Red Wingate: "Re: [PHP] Regex"
- In reply to: Brent Clark: "[PHP] Regex"
- Next in thread: Red Wingate: "Re: [PHP] Regex"
- Reply: Red Wingate: "Re: [PHP] Regex"
- Reply: John W. Holmes: "Re: [PHP] Regex"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brent Clark wrote:
> Hi all
>
> does anyone know of a regex expression to get only the number number from after the Code 39
>
> Kind Regards
> Brent Clark
>
> 1 barcodes found Code 39->10005215
$barcodes = "Code 39->10005216";
$parts = explode(">",$barcodes);
echo "Number is ".$parts[1];
Might be faster.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Red Wingate: "Re: [PHP] Regex"
- Previous message: Red Wingate: "Re: [PHP] Regex"
- In reply to: Brent Clark: "[PHP] Regex"
- Next in thread: Red Wingate: "Re: [PHP] Regex"
- Reply: Red Wingate: "Re: [PHP] Regex"
- Reply: John W. Holmes: "Re: [PHP] Regex"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

