Re: removing periods from a list of numbers
- From: Elliott Roper <nospam@xxxxxxxxx>
- Date: Fri, 12 Aug 2005 17:37:55 +0100
In article <1123858131.455266.225100@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<fogharty@xxxxxxxxx> wrote:
> I have several documents that contain tables, with each row heading
> numbered anywhere from 1-30 (not automatically numbered). I would like
> to find a find and replace that will remove the period . after each
> number so that:
> 1.
> 2.
> 10.
> 30.
> becomes
> 1
> 2
> 10
> 30
>
> I can do a wildcard search [0-9](.) and that will find the . and the
> preceeding number, but I can't find a "Replace with" that will work.
find ([0-9]).
replace \1
(It looks like you put the parentheses around the wrong thing.)
Replace all then removes every . that follows a digit and leaves other
..'s alone. The \n syntax replaces the expression in the nth () with
whatever value was found.
I confirmed this in v.X
Sorry, but I don't have 98 to test it there.
--
To de-mung my e-mail address:- fsnospam$elliott$$
PGP Fingerprint: 1A96 3CF7 637F 896B C810 E199 7E5C A9E4 8E59 E248
.
- Follow-Ups:
- Re: removing periods from a list of numbers
- From: Paul Berkowitz
- Re: removing periods from a list of numbers
- References:
- removing periods from a list of numbers
- From: fogharty
- removing periods from a list of numbers
- Prev by Date: Re: removing periods from a list of numbers
- Next by Date: Re: Keyboard Shortcut for new word template
- Previous by thread: Re: removing periods from a list of numbers
- Next by thread: Re: removing periods from a list of numbers
- Index(es):
Relevant Pages
|