Pulling Multiple Strings of Data From an Email Using Regex Into Separate Variables

Thanks! will try.

(EDIT: This worked GREAT! Thanks a million!)

1 Like

Thanks, will try this too!

Just to be clear, the "text" portion of the input can and will vary. So I want to extract that and "print" it after the calculation. So it would look something like this:

12 Coke Bottles
24 Coke Bottles

10 Apples
20 Apples

etc

I don't really see how your solution does that?

I bet. I was just showing you another way. It was based on your example so your goalpost moved. You can use a prompt for user input to gather values as well.

Yes, thanks! Sorry for sounding rude, that was not my intention!

You weren’t rude. Hopefully, you can get to a good solution. If not, start a new topic so we can help.

KC