In my Excel workbook, there are a lot of occurrences of 00XX
, where X can be any digit. For instance, 0017
appears frequently. I want to remove all occurrences of 00XX
using the SUBSTITUTE
function. So far, I have this:
=SUBSTITUTE(C1,"00[0-9][0-9]","")
This is not working though, and I think it is because Excel treats the second string as a literal, instead of a regular expression. Is there a way to make this formula work? I know that some programming languages allow you to add modifiers to a string to change its meaning, but I have not found any such thing yet for Excel.