I am writing a Excel VBA macro and need to split a string on a number. What I had hoped would work is this:
Split("ABC2_DEF",[0-9]*)(0)
Which would give me
ABC
Every combination I tried either interprets literally or is invalid. I cannot seem to find how to use a regex in the Split function and perhaps it is not possible. I was hoping to avoid a brute force method. Thanks.
EDIT: I found the function RegexExtract that worked great. Would still like to know if I can natively Split on regex.