Faq/Writer/152
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
How do I find special characters inside a document?
- use the ▸ menu;
- in the Find area, enter:
[^!:,;?\. [:alnum:]]*
- click the More Options button;
- check Regular Expressions; and
- click Find all.
Explanations:
- ^ at the beginning of the enumeration between brackets ( [^ ) means “all that is not between brackets.” It is possible to complete the list depending on what is looked for. For example
[^!:,;?\.+-%$€ [:alnum:]]*
- [:alnum:] matches an alphanumeric character;
- the * character is a wild multiplier allowing you to find the characters defined previously (here, the ones listed between the brackets) regardless of how often they occur.