Hello,
This is a pretty simple problem to explain, and I was hoping someone can explain why this doesn't work. I have a bunch of regular expressions I'm trying to use regex_replace in the formula tool, as so:
Regex_replace([text], "regex expression 1", "replacement 1") OR
Regex_replace([text],"regex expression 2", "replacement 2")
However, regardless of what I put in the regex expression or replacement fields (it can be the simplest thing), all I get is "0" in the text column (which is a vstring). The only way around this is to make it a two step process and do a "if regex_match then regex_replace" type thing which requires two operations instead of one (this is going to be performed on millions of records, so speed is important).
Any guesses to why sticking the logical OR sign causes this to happen?