To start, open the Style Sheet Editor.


It’s possible to enter specific replace terms in the same way that you would in the Always Find tab. However, there is one more option available in the Wildcards tab: for your preferred term, you can use the \𝘯 wildcard to search for an expression and then replace it with the rearranged expression. For example, in the box next to PerfectIt should warn if it finds the phrase: type ([0-9]{1,2}) (December) and in the box next to If it finds the phrase, it should suggest: type \2 \1. The placeholders \1 and \2 refer to the terms in parentheses, with \1 being the first set of parentheses, \2 being the second and so forth, so this example will find ‘25 December’ and replace it with ‘December 25’.

Adding Comments

Unlike the checks included in the Always Find tab, wildcard searches are looking for a pattern rather than a particular term. As a result, it may not be clear to the user what a particular wildcard check is actually doing, so you may wish to add a note that will appear when PerfectIt locates a possible error. Simply type the text you want to appear into the Style Notes column that is available in every row of the Style Sheet Editor.

Add a comment to the Style Notes column

The comment will appear as the check description, as shown below:

The comment appears as the check description

PerfectIt comments also have an option to help PerfectIt avoid certain locations and therefore reduce the number of false positives displayed in the locations list. It works by adding a comment of this form:

Except for "[exception 1]", "[exception 2]", ...

You can also use the key phrases Except before and Except after in order to check either before or after a possible location. As the Wildcards check is matching a pattern rather than a specific term this allows you to eliminate false positives easily, without having to specify every possible phrase that PerfectIt should ignore. For example, rather than adding Except for "page 1's", "page 2's", "page 3's"..., this comment could be added to the example shown above:

Except after "page", "chapter"

With that comment, PerfectIt will, for example, automatically ignore the phrases ‘chapter 5’s theme’ and ‘page 13’s opening paragraph’, but will still find other instances of a number followed by 's.

Wildcard Description

In the same way that adding a description to the Style Notes column helps the user to understand what the check is doing when PerfectIt locates a possible error, including it in the Wildcard Description column means that the description is also displayed in PerfectIt’s standard reports, making it easier for users who are not familiar with wildcard patterns to understand the results in reports.