Re: How to extract a substring using Regex

From: "Postgres User" <postgres(dot)developer(at)gmail(dot)com>
To: "Michael Glaesemann" <grzm(at)seespotcode(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to extract a substring using Regex
Date: 2007-08-24 01:01:54
Message-ID: b88c3460708231801k51dcbad3nbd6c45c3fb7418c8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > Yes, I read the manual. I think I had a problem because of the
> > special chars (< / >) that I'm trying to search for... Still looking
> > for the right syntax.
>
> Why don't you show us what you've tried and the errors you're
> getting? That way we can help you figure out what you're doing wrong
> rather than just give you an answer.
>
> Michael Glaesemann

SELECT substring(data_field from '<name>(.)</name>')
FROM myTable

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-08-24 01:21:38 Re: Geographic High-Availability/Replication
Previous Message Michael Glaesemann 2007-08-24 00:53:40 Re: How to extract a substring using Regex