◄ | RegEx: 6° Example | ► |
The examples in this guide have been performed on a test document can be downloaded here.
The sixth example will involve the creation of a new RegEx of 'header' with the aim to propose as a possible headers all paragraphs that ending with 'mistakes'. This RegEx is only useful for the test document created especially for the manual (downloadable here) and used outside of the document is somewhat pointless.
LibreOffice - Ubuntu |
As we want to create a new RegEx in the 'Header Find', we click on the icon that represents a section of RegEx (a *?) And, in the list box at the top, select 'Header RegEx List'. After that we just have to click on the correct icon (+) in the lower to add a new RegEx.
LibreOffice - Ubuntu |
In the window that appears, fill in the fields as follows:
Then click on 'OK' to change the RegEx. From this moment the RegEx change will be visible in the list box in the upper part of the section 'Header Find'. To make the final editing of this RegEx you need to click on the correct icon (the one furthest to the right in the lower section of the 'Edit RegEx') to save her.
If you are trying to document Errors.odt created specifically for examples of tests you can do in the 'Header Find' to see how Pepito Cleaner is able to offer possible headers according to your instructions .