Start by selecting the appropriate part:The words in the sentence the quick brown fox jumps over the lazy dog contain all the letters of the alphabet.
Then, set up the Replace command like this and click Replace All:The words in the sentence the quick brown fox jumps over the lazy dog contain all the letters of the alphabet.
This will be the result:
By default the regular expression ".+", which matches one or more of any character, does not match end of line characters. So, if the selected text spans multiple lines, this will not work as expected. The solution is to override that default with the modifier "(?s)", like this:The words in the sentence "the quick brown fox jumps over the lazy dog" contain all the letters of the alphabet.
If instead you want to bracket selected text, note that the brackets have to be escaped, so change the replacement expression to \($0\).
Obviously, this can be recorded as a macro, if it's something you do often.