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

From: Christopher Molnar <cmolnar(at)ourworldservices(dot)com>
To: Félix GERZAGUET <felix(dot)gerzaguet(at)gmail(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:58:02
Message-ID: CACU0s5W4dOETAEiC=gapa0yVR9iadKWWHpLfThtwMboTaAhKTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you Felix that was exactly what I needed!

-Chris

On Mon, Dec 28, 2015 at 2:23 PM, Félix GERZAGUET <felix(dot)gerzaguet(at)gmail(dot)com>
wrote:

> 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

Browse pgsql-general by date

  From Date Subject
Next Message rob stone 2015-12-28 21:04:50 Re: Options for complex materialized views sharing most of the same logic?
Previous Message Melvin Davidson 2015-12-28 19:52:56 Re: Regex help again (sorry, I am bad at these)