I am editing an e-book document with a lot of unnecessary markup. I have a number of sections in the text with code similar to this:
Some text here&
Search for \(*{1,})\
and replace with \1
. Don't forget to check Use wildcard
.
There is a reference table for Word's "regular expressions" here: http://office.microsoft.com/en-ca/word-help/find-and-replace-text-by-using-regular-expressions-advanced-HA102350661.aspx
<
and >
are special characters that need to be escaped*
means any character{1,}
means one or more times