Frequently asked questions - Writer

From The Document Foundation Wiki
< Faq‎ | Writer
Jump to: navigation, search

How do I find special characters inside a document?

  • Use the Edit ▸ Find & Replace menu
  • In the Find area, enter:
[^!:,;?\. [:alnum:]]*
  • Click the More Options button
  • Check Regular Expressions
  • 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.