find and replace numbers in a string -- wildcards
How can I find and replace an unknown series of numbers, of known length, inside a string?
For example, I have the string "lajdsfasd 1234123412341234 asdf lkj". I don't know the number, but I know how long it is (credit card number). How can replace that CC number with other text?
Replace and Instr functions don't take wildcards (#, *).
I'm working in Access 2000 VBA, and deleting credit card data from our database.
thanks,
Conrad
|