This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hm. I seem to be getting some unexpected results. Could be my regex game is weak.
Formula:
REGEX_REPLACE(REGEX_REPLACE('-- -- ---', '\\s+','x'), '-+','y')
Expectation:
yxyxy
Result:
yxy xy
Or with the more concise
REGEX_REPLACE('-- -- ---', ...