Page 1 of 1

Find and Replace question

Posted: Wed Nov 21, 2001 10:36 am
by Dean
Hi,

I have multiple documents that require a find and replace to change a list of numbers, shown below:

0
0
1
1
2
0

I can not find the correct settings to use to change the line to read

0
300
0
2
2
0

Can someone please put me out of my misery.

Thanks
Dean

Re: Find and Replace question

Posted: Wed Nov 21, 2001 2:18 pm
by Ray at work
Hi Dean,

In the Find what box:
0\n0\n1\n1\n2\n0\n

In the Replace with box:
0\n300\n0\n2\n2\n0


Make sure that you select "Regular Expression" so that \n is treated as a line break instead of a literal string.

Ray at work