Steve Manes wrote: > I apologize if I'm having a rookie brain block, but is there a way to > massage a string inside a proc to, for instance, strip it of all > non-alpha characters using a regular expression?
SELECT regexp_replace(E'--> text\\\0120815_12 <--', '[^[:alpha:]]', '', 'g'); regexp_replace ---------------- text (1 row) Yours, Laurenz Albe ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match