Find two neighboring duplicate paragraphs – Nisus Writer Express User Manual

Page 209

Advertising
background image

Polishing & Managing Documents

189

6.

Delete the final slash “/” to finish the expression so that it looks like this

Here each set of the Capture and AnyDigit represents the two digits of the month followed by
the slash “06/” then the day and slash “23/” and finally the year “73” the three things you want
to find and switch.

7.

Click in the Replace box and use the Match column and your keyboard to create this Replace
expression:

Nisus Writer Express uses the Captured found text to define the numbered Captured
groupings; that is, the first set of Captured text surrounds what will be produced in
“Captured1”. The “Capture” stores the found expression so that it can be recalled when using
the numbered Captured characters in the Match column. In this example, the first Capture
defines the two numbers, found in the text, not the symbols AnyDigitAnyDigit, to be recalled
when Captured1 is used.
So, in the example, Captured2 represents the day (now at the beginning) and Captured1
represents the month (now appearing in second place).

8.

Choose Entire File, from the Where pop-up menu then click Find All.

9.

Click Replace All.

Find two neighboring duplicate paragraphs

1.

Double-click Capture from the Match column in the PowerFind Browser window.

2.

Place your insertion point between the two portions of the “Capture” metacharacter.

3.

Double-click AnyParagraph from the Wild Card column.

4.

Double-click Return from the Special Characters column.
So far, the Find expression looks like this:

5.

Place your insertion point to the right of the “Capture” metacharacter.

6.

Double-click Captured1 from the Match column in the PowerFind Browser window so that it
looks like this:

7.

Double-click 1+ from the Repeat column so that the final expression looks like this:

Advertising