Hi All,
I need help extracting multiple numbers in an alphanumeric string.
Example:
A) Gift Set -- 3.4 oz Eau De Toilette Spray + 3 oz After Shave Balm + 2.75 oz Deodorant Stick + .25 oz Mini EDT Spray
B) Gift Set -- 4 oz Eau De Cologne Spray + 1 oz Eau De Cologne Spray
C) Gift Set -- 1.7 oz Eau De Toilette Spray + 1.7 oz Body Lotion + 1.7 oz Shower Gel
D) Gift Set -- 3.4 oz Eau De Toilette Spray + 4.4 oz Shower Gel
E) Gift Set -- 3.4 oz Cologne Spray + 3.3 oz Hair & Body Wash + 2.5 oz Deodorant Stick + 3 oz Soap
Prefered results:
A) 3.4, 3, 2.75, .25
B) 4,1
C) 1.7, 1.7, 1.7
D) 3.4,4.4
E) 3.4, 3.3, 2.5, 3
I want to extract the numbers so I could add them. If there's a way to bypass the extraction, it'd be better.
I'd appreciate any help. Thanks!
Bookmarks