"What does ""line"" mean in a Word context? The displayed line, which changes if you do anything to the page formatting? The paragraph? Something else?
You can do a bunch of stuff with Word's find-and-replace functions, including changing the formatting and other non-obvious things, but all of them will only act on the find-what text itself, not on any surrounding text."