On Sun, 04 Sep 2005 19:22:03 -0400, Ron Miller wrote:
> Paul_B wrote:
>
>> On Sun, 04 Sep 2005 16:49:48 -0400, Ron Miller wrote:
>>
>>>I have been trying to make Open Office 1.1.4 and now beta 2 of OO 2 find
>>> numerals in plain text. A block of text in paragraph format will
>>>contain single or double digit numbers i.e.
>>> 1then text, 2more text...14additional text etc.
>>>
>>>I need to remove the numbers without changing the text. I have tried
>>>various combinations of [1-0], [:0-1:] without success. Any clues will
>>>be most welcome.
>>>
>>>Thanks Ron Miller in Baltimore
>>
>> You can search for numbers with the string [0-9]{1,2}. The first
>> term represents a range. The second allows one to two instances
>> of the first term - in this case, that is one or two digits.
>>
>> The Replacement string should be left blank.
>>
>> p.
>>
> I may be more obtuse than others, but I can't get this to work. Pasting
> a copy of your exact string in the Find box consistently produces a
> "Search Key not found." error message. The same result is received
> whether I'm finding, finding all, replacing, or replacing all.
>
> Thanks for further light.
Sorry, GRS nearby is right. You have to check Regular Expressions
for this to work.
--
Using OOo 1.9.104 on Win XP sp2.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]