Re: Regex help again (sorry, I am bad at these)

From: Félix GERZAGUET <felix(dot)gerzaguet(at)gmail(dot)com>
To: Christopher Molnar <cmolnar(at)ourworldservices(dot)com>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regex help again (sorry, I am bad at these)
Date: 2015-12-28 19:23:06
Message-ID: CANVwZtvVWt95hc0On+KbtqEbYrw04Au5qSkKvtod5+6zBCW9sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello Chris,

On Mon, Dec 28, 2015 at 8:10 PM, Christopher Molnar <
cmolnar(at)ourworldservices(dot)com> wrote:

> Any suggestions?
>
This seems to works:

select regexp_replace('<p>Complete the attached lab and submit via
dropbox</p>\r<p><a href="
https://owncloud.porterchester.edu/HVACR/PCI_GasHeat/GasElectrical/HVACR1114_LAB_13A.pdf"
title="Lab 13A">Lab 13A<\a>', '/([^/]*)\" title=', '/&file=\1" title=')

Regards,

Félix

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2015-12-28 19:25:12 Re: Regex help again (sorry, I am bad at these)
Previous Message Christopher Molnar 2015-12-28 19:10:05 Regex help again (sorry, I am bad at these)