Press Ctrl+H to open the find and replace dialog box. Enter "…{ 1,}" in the "Find what" input box, and do not enter anything in the "Replace with" input box. "…{ 1,}" means that "…" appears at least once. Select the Use Wildcards option below, as shown.
Click the "Replace All" button, and those ellipsis will disappear.
Then add a tab stop. In the same dialog box, enter "[0-9] {1} p" in the Find What input box and "t&" in the Replace With input box. , still select the "Use Wildcards" option below and click the "Replace All" button, as shown in the figure.
There is a tab stop before each page number, but at the same time, it is found that there is an empty line after each line.
Eliminating blank lines is simple: just enter "^p^p" in the Find What input box, and then enter "p" in the Replace With input box. Remember not to select the "Use Wildcards" option below this time. Click the "Replace All" button, and all empty paragraphs will disappear.
Second, set the tab stop.
Select all directories, and then click the menu command format → tab stop to open the tab stop dialog box. Enter "40" in the "Label Position" input box at the top left, click the "Settings" button below, and select the options of "Right Alignment" and "5 ...", as shown in the figure.