Suppose I have a string. In the string is the pattern of one digit followed by one letter, like 1A. This pattern can occur 0 to 3 times. Each occurance will be different; in other words, the string could be something like AAA 1A 111 2B 332D C3 DD. I need to find any and ALL occurrances of it, and put each one into a different variable. For that example, I would need to find A1, 2B, and 3C. How do I do this?
|