Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: question regarding regular expressions - Mailing list pgsql-general

From Tom Lane
Subject Re: question regarding regular expressions
Date
Msg-id [email protected]
Whole thread Raw
In response to question regarding regular expressions  (Cindy <[email protected]>)
Responses Re: question regarding regular expressions
List pgsql-general
Cindy <[email protected]> writes:
> If I've got something like "...AND citation ~ 'x[0-9]*'..." in my
> query, is there any way to extract the portion that matched?

Not in SQL --- but you could easily write a plperl or pltcl function
to do that.

            regards, tom lane

pgsql-general by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: find overlapping address ranges
Next
From: phil young
Date:
Subject: problems compiling pgsql