Removal of everything between two characters in Ms Word

I need a pattern to remove everything between the "<" and ">" characters. An example would be:

<blah blah blah>Something I want <blah blah>really bad<blah blah>

becomes

Something I want really bad

How would I go about doing this? I have looked up the word search patterns and tried using them (to no avail). If Word won't do it, is there an online tool that could?

3

1 Answer

I need a search pattern to remove everything between the "<" and ">" characters.

  • Set "Find What" to \<(*{1,})\>

  • Set "Replace with" to an empty string.

  • Check "Use wildcard"

Notes:

  • < and > are special characters that need to be escaped using \
  • * means any character
  • {1,} means one or more times

Further reading

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like