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.


Did you remember to enable Regular Expressions in the Find & Replace box? It's the only mistake that makes sense for the symptoms you describe.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to