I have bunch of product codes that I'm trying to parse (Example 99 ITEM SEC SALE). In rare conditions, product codes are like 99 ITEM SEC SALE.
If it the cell is "99 ITEM SEC SALE" then "ITEM SEC" will be parsed (take out 99 and SALE). If the cell is "99 ITEM SEC" (NO--> SALE,SOLD, OR PURCHASED). I want ITEM SEC will be parsed as well.In other words, "SALE SOLD AND PURCHASED" are prohibited words.
1-It always starts with a set of numbers (no limit) 2-Alphabetic characters (Any) 3-Alphabetic characters (any)-optional 4-If the ending value(string) is NOT "SALE" or "SOLD" or "PURCHASED" then take the digits out and parse
I found something similar but could not figure out how it should work for my case.
Thanks for the help