[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Regex replacement but excluding certain strings
From: |
arnold |
Subject: |
Re: Regex replacement but excluding certain strings |
Date: |
Mon, 11 May 2020 05:03:46 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
Peng Yu <address@hidden> wrote:
> I want to replace matches of a regex (but excludes some fixed strings) with
> some target string. Is it possible to do with an awk replace function like
> gsub? Or I need to manually take care of the exclusion? Thanks.
> --
> Regards,
> Peng
You will need to manually handle the exclusion.