Using the Counter in Advanced Replace

Consider a list of items - you wish to number them sequentially.

Search <
Replacecnt": "

The list starts as

And after running the above Search and Replace on that list you get
1: Item
2: Item
3: Item
4: Item
5: Item
6: Item

< sets a flag that mark the start of a line.
cnt calls the Replace counter. In this case we wanted the count to use default values (start at 1, increment 1) so we did not need to click on the Counter in the Advanced Search and Replace dialog box to set anything.
": " is a string of literal characters (colon - space in this example) that are used just as they are.

Of course you could renumber paragraphs just as easily:

Search <<
Replacecnt": "

Was this page helpful? Please email me and/or rate this page:

Optional comment

Other relevant pages

Top of page

Page Information Document URI:
Page first published Monday the 1st of January, 2018
Last modified:Wed, 06 Mar 2019 19:14:30 GMT
© 2017 - 2019 Richard Torrens.