Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2004032

Re: [PHP] Regex From: Red Wingate (redeye <email protected>)
Date: 03/31/04

preg_match( "#39->([0-9]{8})#" , $source , $result );

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
> This is the search1 barcodes found 2 barcodes found Code 39->10005216 Datalogic 2 of 5->4
> This is the search2 barcodes found 1 barcodes found Code 39->10005210
> This is the search1 barcodes found 2 barcodes found Code 39->10006106 IATA 2 of 5->2
> This is the search2 barcodes found 1 barcodes found Code 39->10005218
> This is the search1 barcodes found 1 barcodes found Code 39->10004516
> This is the search1 barcodes found 1 barcodes found Code 39->10006087
> This is the search1 barcodes found 3 barcodes found Code 39->10005802 IATA 2 of 5->2 IATA 2 of 5->8
> This is the search3 barcodes found 1 barcodes found Code 39->10006081
> This is the search1 barcodes found 1 barcodes found Code 39->10004518
> This is the search1 barcodes found 1 barcodes found Code 39->10004531
> This is the search1 barcodes found 1 barcodes found Code 39->10004039
> This is the search1 barcodes found 1 barcodes found Code 39->10004521
> This is the search1 barcodes found 1 barcodes found Code 39->10004519
> This is the search1 barcodes found 2 barcodes found Code 39->47429 Code 39->10004306
> This is the search2 barcodes found 2 barcodes found Code 39->47429 Code 39->10004306
> This is the search2 barcodes found No barcodes found
> This is the searchNo barcodes found No barcodes found
> This is the searchNo barcodes found 2 barcodes found Code 39->47429 Code 39->10004306
> This is the search2 barcodes found 2 barcodes found Code 39->47429 Code 39->10004306
> This is the search2 barcodes found 2 barcodes found Code 39->47429 Code 39->10004306
> This is the search2 barcodes found

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php