Thomas --
Not quite sure of what you're suggesting here. Looking for all occurrences of substrings could be quite a list, no?
>>Main ways:
>> "Big Widget 1 12345 12345 1"
>> "Big Widget - 1 12345 12345 1"
>>Occurs a few times:
>> "Big Widget (1 12345 12345 1)"
>>Once only:
>> "Big Widget 1 12345 12345 1 / China"
>> "Big Widget Green:1 12345 12345 1"
>>
>>Can't really count on anything, I'm afraid, other than that the UPC Code appears with white space.
>>
>>(Further note: The spaces within the UPC Codes above are the usual presentation ... but there's also "1 12345 123451" and "112345 123451" and even "11 2345 12345 1")
>>
>Then look for all occurrencces of substrings consisting only of numbers and strings with 12 numbers.
>
>HTH
>
>thomas
Jim Nelson
Newbury Park, CA