Re: Substitutions in matched patterns?
- From: "Bernard El-Hagin" <bernard.el-haginDODGE_THIS@xxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 14:32:32 +0100
Anton81 <forum@xxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> what is the easiest way to do substitutions in matched strings.
> For example I want to do s/ABC/DEF/g , but only if the ABC is between
> braces.
s/{ABC}/{DEF}/g;
--
Cheers,
Bernard
.
- Follow-Ups:
- Re: Substitutions in matched patterns?
- From: Anton81
- Re: Substitutions in matched patterns?
- References:
- Substitutions in matched patterns?
- From: Anton81
- Substitutions in matched patterns?
- Prev by Date: Re: why doesn't sort properly?
- Next by Date: Re: How to use Registry functions
- Previous by thread: Substitutions in matched patterns?
- Next by thread: Re: Substitutions in matched patterns?
- Index(es):
Relevant Pages
|