Perfect! Thank you!
Peter
------------------------------------------------------------------------
*From:* Eyal Rozenberg [mailto:eyalroz1@gmx.com]
*Subject:* [libreoffice-users] Writer- find and replace a number
*Date:* Friday, June 30, 2023 at 5:50 PM
*To:* users@global.libreoffice.org, .
1. Open the "Find and Replace" dialog (e.g. with Ctrl+H).
2. Check the "Regular Expressions" checkbox in the lower part of the
dialog
3. Enter a regular expression which will match numbers: [0-9]+ (with
the plus sign!).
4. Enter the replacement text you want (you can use $1 in the
replacement string to get the number that was matched)
5. Press "Find Next" and then possibly "Replace" or "Replace All" as
appropriate
What does the regexp mean? It means "One or more occurrences of a
character from the sequence 0-9". For more about regular expressions,
see for example: https://www.sitepoint.com/learn-regex/
Hope that helped,
Eyal
On 01/07/2023 0:26, . wrote:
How do I find and replace all numbers in Writer?
What I'm trying to do is get rid of the numbers in a list.
I have NO idea what they're talking about "regular expressions" and
can't figure out a wild card for numbers.
Any ideas?
Thanks,
Peter
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.