Im trying to extract size from product details by using the below REGEX..
With rgx
.Global = True
.MultiLine = False
.Pattern = "([0-9.,*?/]+{1,5}\s*(g|G|ML|ml|mL|Ml|oz|OZ|Oz|ea|\s+)){1,3}"
Set temp = .Execute(Rng)
However, while executing the regex im facing 5018 error in line Set temp = .Execute(Rng) Why im getting this error anything wrong in h eregex?
Rng? Please post a reproducible example..Execute(Rng.Value2)+{1,5}is wrong syntax too. The+is not quantifiable in this case. You'd probably just want to remove the "+" alltogether. Then again, if you explain a bit more what you are after, there may be a better pattern here.