By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
foo |
---|
the quick brown fox |
jumped over the lazy dog |
regexp_replace(foo, '[^a-z]+', '-') |
---|
the-quick-brown-fox |
jumped-over-the-lazy-dog |
foo |
---|
the quick brown fox |
jumped over the lazy dog |
regexp_replace(foo, '[^a-z]+', '-') |
---|
the-quick-brown-fox |
jumped-over-the-lazy-dog |