Examples of putting powerfind to use, Remove extra blank lines, Change the sequence of a pattern – Nisus Writer Express User Manual

Page 208: Remove page breaks

Advertising
background image

188

Proofing Documents

Anything

Any group of characters (except footnote markers), including the Return character
that defines the end of a paragraph.

AnyText

Any group of characters (except footnote markers), excluding the Return character
that defines the end of a paragraph.

AnyHTMLTag

Any group of characters surrounded by “<” and “/>”.

LowercaseLetter

Any lowercase letter from a to z, excluding modified letters (such as с, з or ü)

UppercaseLetter

Any uppercase letter from A to Z, excluding modified letters (such as С, З or Ü)

AnyLetter

Any alphabetic character

AnyDigit

Any numeric character

AnyLetterOrDigit

Any alphabetic or numeric (“alphanumeric”) character

Or

Any characters on either side of the Or expression

Examples of putting PowerFind to use

In the examples that follow, all instructions assume the Find/Replace window is open and
PowerFind is selected from the Using pop-up menu.

Remove extra blank lines

These steps explain how to find every blank line and remove it.

1.

Choose Return twice from the Special Characters set, then 1+ from the Repeat set.
The Find box displays this expression:

2.

Click in the Replace box and choose Return from the Special Characters set.

3.

Check Whole File and click Replace All to remove all blank lines.

Remove page breaks

You can insert forced page breaks in your Nisus Writer Express documents by choosing Page Break
from the Insert menu. You can also find and remove them using PowerFind.

1.

Click in the Find box and choose Any Break from the Special Characters set.

2.

Leave the Replace box blank.

3.

Click Replace All to remove all page breaks created using Page Break from the Insert menu.

Beware! This removes all inserted breaks, page breaks as well as section breaks.

Change the sequence of a pattern

These instructions explain how to change all occurrences of a date entered as dd/mm/yy (for
example 23/06/73) to mm/dd/yy. (or 06/23/73).

1.

Click in the Find box and insert Capture from the Match column in the PowerFind Browser
window.

2.

Type a slash:
/

3.

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

4.

Insert AnyDigit twice from the Wild Card column in the PowerFind Browser window.
So far, the Find expression looks like this:

5.

Select what you see in the Find what box, then choose Copy then Paste it in twice.

Advertising