Simple Regex question, hoping for direct answer (no Socratic approach necessary)

From: "Postgres User" <postgres(dot)developer(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Simple Regex question, hoping for direct answer (no Socratic approach necessary)
Date: 2007-08-24 01:39:52
Message-ID: b88c3460708231839n6a2f8371y7ed8c799f26ff7c0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm new to Regex in Postgres. Can someone give me a quick pointer on
how I'd SELECT the substring between '<name>' and '</name>' in
a field?

Sample field data:
address city here <name>Rogers, Jim</name> zip code place

and I'd like the SELECT to return only:
Rogers, Jim

Thanks!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Postgres User 2007-08-24 02:08:07 Re: How to extract a substring using Regex
Previous Message Michael Glaesemann 2007-08-24 01:39:45 Re: How to extract a substring using Regex