From quanta Wed Jul 01 20:41:32 2009
From: Dick Angus
Date: Wed, 01 Jul 2009 20:41:32 +0000
To: quanta
Subject: Re: [Quanta] Find and Replace by regex
Message-Id: <200907011441.32777.RJA-Linux () shaw ! ca>
X-MARC-Message: https://marc.info/?l=quanta&m=124653802212749
MIME-Version: 1
Content-Type: multipart/mixed; boundary="--===============0914411241=="
--===============0914411241==
Content-Type: multipart/alternative;
boundary="Boundary-01=_8n8SKEwagSoBGLz"
Content-Transfer-Encoding: 7bit
--Boundary-01=_8n8SKEwagSoBGLz
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
> I am sure this has been asked before, but I couldn't find it and I'm stuck.
> I want to find all cases of:
>
>
> digit
>
>
> and change them to:
>
>
> digit
>
>
> where digit can be any single numeric. The problem I have is that digit
> must be part of the find, but I can't get the replace to leave it there for
> me?
>
>
> TIA and I'm sorry if this is repetitive.
>
> An old mainframer getting current
Thanks Alan. Worked like a charm.
An old mainframer getting current
--Boundary-01=_8n8SKEwagSoBGLz
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
> I am sure this has been asked before, but I couldn't find it and I'm stuck.
> I want to find all cases of:
>
>
> digit</p>
>
>
> and change them to:
>
>
> digit</h2>
>
>
> where digit can be any single numeric. The problem I have is that digit
> must be part of the find, but I can't get the replace to leave it there for
> me?
>
>
> TIA and I'm sorry if this is repetitive.
>
> An old mainframer getting current
Thanks Alan. Worked like a charm.
An old mainframer getting current
--Boundary-01=_8n8SKEwagSoBGLz--
--===============0914411241==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
--===============0914411241==--