B
bayxarea-usenet
I am trying to test a string to see if it begins with a combinations of
possible 3 letter words plus exactly 5 digits and a . (leading spaces
are ok)
for instance
example: if I want to test -> abc,def,ghi
then
abc00000.
def00001.
ghi00002.
should all pass - but
jkl00003. would fail
abc0002. would fail
def00002 would fail
I know how to handle the leading spaces and I can use | to test eachc
of the possible letter combinations - but how do I handle this with the
5 digits if don't know what the digits are going to be?
Thanks,
John
John
possible 3 letter words plus exactly 5 digits and a . (leading spaces
are ok)
for instance
example: if I want to test -> abc,def,ghi
then
abc00000.
def00001.
ghi00002.
should all pass - but
jkl00003. would fail
abc0002. would fail
def00002 would fail
I know how to handle the leading spaces and I can use | to test eachc
of the possible letter combinations - but how do I handle this with the
5 digits if don't know what the digits are going to be?
Thanks,
John
John