Faq/Writer/152

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

Template:TopMenu/en Template:Menu/en Template:Menu.Documentation/en Template:Menu.FAQ/en

Other languages:
dansk • ‎English • ‎français • ‎italiano • ‎русский


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; 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.