There is no automated undo once you have clicked the Replace/Replace X selected button!
Changes can be manually reverted in the fragment history panel or document history panel, or in some cases, the replacement can be searched again. Individual documents can also be reverted to a previous version. It’s not possible to revert a complete publication.
Click the Search and replace... button to open the dialog.
The dialog is divided into three main parts:
Limitations: You cannot replace words or content within xrefs or words with mixed markup, for example, if some part of a word is bold or italic.
Enter your search term or phrase in the Search for field at top left.
You can toggle the options to refine how your terms are matched.
By default, the search is not case sensitive but replacements preserve capitalization.
For example, searching “this” matches both “this” and “This”. If you enter “that” as the replacement, matching terms are replaced by either “that” or “That” depending on whether the original term is capitalized or not.
The match word option is on by default. It lets PageSeeder know to respect word boundaries, so that the terms you entered match exactly the beginning and the end of a word.
For example, searching “cat” matches only the word “cat” when the match word option is on, but it would also match “category” and “communicate” if you turn that option off.
Although the match word option returns results similar to the regular search, be careful with spaces and punctuation.
$1
, $2
, etc. to refer to a sub-matched string.
Enter your replacement term in the Replace with field on the top right.
If no replacement is entered, the searched term is replaced by nothing, so effectively removed.
You can change the replacement while you are previewing a matching result. The preview is updated automatically.
The default location is the group folder, but you can navigate to a different folder in the folders panel before clicking the
ESC
.If Search documents in this publication only is selected, the default location is the current publication. You see the
Switch between searching a folder or a publication by clicking the
Click the Search button to the right of the Location field to display matching results.
Fragments that match search terms are listed individually.
Search results are different from normal search as fragments are returned instead of documents. Words and characters ignored by regular search are matched (Common words like “the”, “of” as well as punctuation), and the whole string is matched.
For each match, the following is shown:
Selecting multiple checkboxes enables batch replacement when the Replace X selected button at the bottom of the dialog is clicked. When using batch replacement, all the matched terms in the selected fragments are replaced.
Clicking on a fragment extract, with or without its checkbox selected, allows a preview of any possible replacements in the fragment.
The document title and fragment number are shown at the top left of the preview. Clicking the title opens the document in a new window.
The effect of replacement of the matched terms is displayed with highlighting. Clicking a term changes the color. The following colors indicate what action is to take place:
Clicking the Replace button carries out the chosen actions on the fragment and automatically updates the matching terms in the preview.
If the search, location, or publication details are changed after an extract has been clicked, the user has to click the Search button again to update the preview.
When you replace a term using the search and replace dialog, an edit note is attached to every fragment where a term was replaced so that you can see what happened in the fragment history panel.
On the documents page:
Navigation menu >
In the document search panel:
When viewing a document, click the
The PageSeeder user manual
© Allette Systems (Australia)