Here's a sample taken from News.com:
- Copy the list and paste it into Word.
- Open the Find and Replace dialog (Edit | Replace... or Ctrl + H).
- Click the More button and check Use wildcards.
- Here's the trick, as you need to use special characters. First, paste the string you want to remove in the Find what: field.
- For each greater than and less than character, place a backslash before it, i.e. < becomes \< .
- Replace the contents of the value field with an asterisk.
- Validate Word will be able to find the code by clicking the Find Next button -- the code should now be highlighted.
- Go to the Replace with: field and enter ^p. This will replace your code with a carriage return.
- Press the Replace button once to validate that it works as expected.
If not, close the Find and Replace dialog and then enter ctrl+z to undo, then return to the Find and Replace dialog to correct the error.
- Now press Replace All button to replace all the code with a carriage return.
- Likely the beginning code and ending code will still exist, as they are different than the rest. Delete those two entries and you are done.