Hi Moonf4,
If the line numbers are part of the text being copied, you can't. Assuming there is a consistent amount of space between the margin and the first desired word on each line, what you could do after pasting is to use a block cut, then select all the lines, delete what's left, then paste again - voila! the numbers will be gone. Alternatively, you could use a block cut to delete the numbers at the start of each line.
To do a block cut, position the cursor at the first desired character on the first line, hold down the Alt-Shift keys and drag the cursor to the end of the desired range. Then do Ctrl-X. Note, if you've got wrapped lines, change the page layout and/or formatting so that you don't; otherwise the first few character of each wrapped line will be lost. Also be sure to drag the mouse far enough to the right to capture all of the longest line; otherwise it'll be truncated.
Another approach would be to use a wildcard Find/Replace after pasting, where:
Find = ^13[!A-Za-z]{1,}
Replace = ^p
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|