Re: [GENERAL] Regular expressions in procs

2007-06-14 Thread Albe Laurenz
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_r

Re: [GENERAL] Regular expressions in procs

2007-06-13 Thread Rodrigo De León
On Jun 13, 9:02 am, [EMAIL PROTECTED] (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? regexp_replace() could work for you, see: http://

[GENERAL] Regular expressions in procs

2007-06-13 Thread Steve Manes
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? ---(end of broadcast)--- TIP 6: explain analyze is your friend