Do you mean to replace the space between words by a continuous line (called a leader line)? In this case, edit your question to tell how your words are spaced: standard space, optionally enlarged by justification, or resulting from a tab?
In the second case, various lines may be automatically substituted for the tab character.